.gitea/workflows: Prefer job GITEA_TOKEN #10
Reference in New Issue
Block a user
Delete Branch "ash/ci-gitea-token-release"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Point Release Tag at the job built-in
secrets.GITEA_TOKENinstead of the legacysecrets.RELEASE_TOKENPAT. Add jobpermissions: contents: write, keep GoReleaser, and setGITEA_TOKEN/GITHUB_TOKEN/GORELEASER_FORCE_TOKEN: giteathe same way vulture does.Why
Long-lived release PATs are policy debt. Job token + contents: write is the Eva/Rex preferred path for GoReleaser on this forge.
Test
RELEASE_TOKENis gone from.gitea/workflows/release-tag.yaml.Issue: #9
ci: Migrate release to job GITEA_TOKENto .gitea/workflows: Prefer job GITEA_TOKEN590e8d9c5fto17685e7de5