Gitea release: a secret name Gitea accepts, and its server task limit

Gitea refuses secret names that start with GITEA_ or GITHUB_, so the
GITEA_RELEASE_TOKEN secret the release workflow read could never be
created and every tag's draft release failed after the builds. The
secret is RELEASE_TOKEN now; the script still receives it as
GITEA_RELEASE_TOKEN.

The Gitea server stops any task older than [actions] ENDLESS_TASK_TIMEOUT
(3h by default) whatever the runner's timeout says, which would end the
eight-hour release job: docs/ci.md says to raise it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEpqsPES27Eacue91u3d2Q
This commit is contained in:
Claude committed 2026-10-04 16:37:42 +00:00
1 parent 264f12ca9c
commit 6c8196991e
3 files changed
+21 -8

No files matched your search

+4 -2
View File
@@ -26,8 +26,10 @@ checks in GitHub or separately before accepting a release.
combined `SHA256SUMS` are attached to a **draft** Gitea release. Review,
sign checksums and publish manually, just as on GitHub.
Set the repository secret `GITEA_RELEASE_TOKEN` to a Gitea personal access
token with `write:repository`, limited to this repository where supported.
Set the repository secret `RELEASE_TOKEN` to a Gitea personal access
token with `write:repository`, limited to this repository where supported
(Gitea refuses secret names that start with `GITEA_` or `GITHUB_`; the
workflow hands it to the script as `GITEA_RELEASE_TOKEN`).
The token's account must be able to write releases. The publishing script
uses the runner's `GITHUB_SERVER_URL` and `GITHUB_REPOSITORY`; it requires
HTTPS and never uses GitHub's release API. On this instance the server URL