ci: rename bump secret to BUMP_TOKEN
CI / build (push) Successful in 6m59s

Gitea reserves the GITEA_ prefix for secret names, so the workflow secret
can't be GITEA_TOKEN. Rename it (and the env var the script reads) to
BUMP_TOKEN.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ali
2026-05-20 20:51:48 -05:00
parent 57e0428658
commit 9fe57aee71
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -26,9 +26,9 @@ jobs:
- name: Check for new release and open PR
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
BUMP_TOKEN: ${{ secrets.BUMP_TOKEN }}
run: |
host=${GITHUB_SERVER_URL#http://}; host=${host#https://}
curl -fsSL "http://x-access-token:${GITEA_TOKEN}@${host}/${GITHUB_REPOSITORY}/raw/branch/master/scripts/bump-version.sh" \
curl -fsSL "http://x-access-token:${BUMP_TOKEN}@${host}/${GITHUB_REPOSITORY}/raw/branch/master/scripts/bump-version.sh" \
-o /tmp/bump-version.sh
bash /tmp/bump-version.sh