Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

fix: authenticate release version-bump push with RELEASE_TOKEN via checkout credential

myhloli85ac82cc5749
diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml
index 62e9bfad..69d7da57 100644
--- a/.github/workflows/python-package.yml
+++ b/.github/workflows/python-package.yml
@@ -23,6 +23,9 @@ jobs:
with:
ref: master
fetch-depth: 0
+ # Push to master must authenticate as the PAT; the default GITHUB_TOKEN
+ # only has contents:read and is rejected with 403.
+ token: ${{ secrets.RELEASE_TOKEN }}
- name: Set up Python
uses: actions/setup-python@v6
@@ -55,8 +58,6 @@ jobs:
- name: Push changes
if: steps.commit_changes.outputs.committed == 'true'
- env:
- GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
run: |
git push origin HEAD:master