ci: Migrate release to job GITEA_TOKEN #12
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
Migrate
.gitea/workflows/release-tag.yamloffsecrets.RELEASE_TOKENto the job built-in token: addpermissions: contents: write, setGITEA_TOKEN/ mirroredGITHUB_TOKENfromsecrets.GITEA_TOKEN, and setGORELEASER_FORCE_TOKEN=gitea. GoReleaser stays.Why
CI token policy prefers job
GITEA_TOKENover a refreshable release PAT. Same pattern ass1d3sw1ped/vulture.Test
Link: #11