.gitea/workflows: Prefer job GITEA_TOKEN #10

Merged
Ghost merged 1 commits from ash/ci-gitea-token-release into master 2026-09-02 10:11:27 -05:00

What

Point Release Tag at the job built-in secrets.GITEA_TOKEN instead of the legacy secrets.RELEASE_TOKEN PAT. Add job permissions: contents: write, keep GoReleaser, and set GITEA_TOKEN / GITHUB_TOKEN / GORELEASER_FORCE_TOKEN: gitea the 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

  • Diff is workflow-only (no product changes).
  • Confirm RELEASE_TOKEN is gone from .gitea/workflows/release-tag.yaml.
  • Next tag push should publish via GoReleaser using the job token.

Issue: #9

## What Point Release Tag at the job built-in `secrets.GITEA_TOKEN` instead of the legacy `secrets.RELEASE_TOKEN` PAT. Add job `permissions: contents: write`, keep GoReleaser, and set `GITEA_TOKEN` / `GITHUB_TOKEN` / `GORELEASER_FORCE_TOKEN: gitea` the 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 - Diff is workflow-only (no product changes). - Confirm `RELEASE_TOKEN` is gone from `.gitea/workflows/release-tag.yaml`. - Next tag push should publish via GoReleaser using the job token. Issue: https://git.s1d3sw1ped.com/s1d3sw1ped/jiggablend/issues/9
Ghost changed title from ci: Migrate release to job GITEA_TOKEN to .gitea/workflows: Prefer job GITEA_TOKEN 2026-09-02 10:07:42 -05:00
Ghost added 1 commit 2026-09-02 10:09:48 -05:00
.gitea/workflows: Prefer job GITEA_TOKEN
CI / check-and-test (pull_request) Successful in 30s
17685e7de5
Release Tag was publishing via secrets.RELEASE_TOKEN, a long-lived
PAT. Prefer the job built-in token with contents: write, matching the
vulture GoReleaser path: set GITEA_TOKEN and GITHUB_TOKEN from
secrets.GITEA_TOKEN and force GoReleaser onto the Gitea token.

Link: #9
Ghost force-pushed ash/ci-gitea-token-release from 590e8d9c5f to 17685e7de5 2026-09-02 10:09:48 -05:00 Compare
Ghost merged commit 98d89c3d28 into master 2026-09-02 10:11:27 -05:00
Sign in to join this conversation.