ci: Migrate release to job GITEA_TOKEN #12

Merged
Ghost merged 1 commits from ash/ci-gitea-token-release into master 2026-09-02 10:06:21 -05:00
+6 -1
View File
@@ -7,6 +7,8 @@ on:
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@main
with:
@@ -21,4 +23,7 @@ jobs:
version: 'latest'
args: release
env:
GITEA_TOKEN: ${{secrets.RELEASE_TOKEN}}
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
# Prefer Gitea when the runner also injects GITHUB_TOKEN.
GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }}
GORELEASER_FORCE_TOKEN: gitea