fix: update Gitea token reference in documentation and workflows to use RELEASE_TOKEN
tests / python (3.10) (push) Successful in 14s
tests-macos / macos (push) Successful in 17s
tests / python (3.11) (push) Successful in 13s
tests / web (push) Successful in 38s
release / release (push) Successful in 36s

This commit is contained in:
Netherwarlord
2026-07-29 14:58:15 -04:00
parent 4a0501c9fb
commit 7bfec91a47
4 changed files with 37 additions and 7 deletions
+6 -1
View File
@@ -44,7 +44,12 @@ jobs:
env:
GITEA_URL: ${{ github.server_url }}
GITEA_REPOSITORY: ${{ github.repository }}
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
# Secret is named RELEASE_TOKEN, not GITEA_TOKEN: Gitea rejects any
# secret name starting with GITEA_ or GITHUB_, since both prefixes
# are reserved for its own built-in variables. The env var on the
# left is unaffected — that's just the name publish_gitea.py reads
# from os.environ, and can be anything.
GITEA_TOKEN: ${{ secrets.RELEASE_TOKEN }}
# Leaves a draft. Review the archives, then publish from the web UI, or
# add --publish here once you trust the pipeline.
run: >-