fix: add packages:write permission to release workflows
The automatic GITHUB_TOKEN needs explicit package scope for uploading to the Gitea Generic Package Registry.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user