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:
1 parent
264f12ca9c
commit
6c8196991e
3 files changed
+21
-8
No files matched your search
@@ -106,5 +106,6 @@ jobs:
|
||||
- name: Draft Gitea release
|
||||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
|
||||
env:
|
||||
GITEA_RELEASE_TOKEN: ${{ secrets.GITEA_RELEASE_TOKEN }}
|
||||
# Gitea refuses secret names starting with GITEA_ or GITHUB_.
|
||||
GITEA_RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||
run: scripts/gitea-release.sh dist/release
|
||||
Reference in new issue
Block a user