fix: add packages:write permission to release workflows
Some checks failed
release-nightly / publish-nightly (push) Failing after 49s
release / goreleaser (push) Successful in 1m17s
release / publish-packages (push) Failing after 33s

The automatic GITHUB_TOKEN needs explicit package scope for
uploading to the Gitea Generic Package Registry.
This commit is contained in:
Andrew Miller
2026-03-05 13:28:01 -05:00
parent 41adbc460b
commit 3d83c18cdf
2 changed files with 8 additions and 0 deletions

View File

@@ -10,6 +10,10 @@ env:
GONOSUMCHECK: git.lethalbits.com/*
GOINSECURE: git.lethalbits.com/*
permissions:
contents: read
packages: write
jobs:
publish-nightly:
runs-on: ubuntu-latest

View File

@@ -10,6 +10,10 @@ env:
GONOSUMCHECK: git.lethalbits.com/*
GOINSECURE: git.lethalbits.com/*
permissions:
contents: write
packages: write
jobs:
goreleaser:
runs-on: ubuntu-latest