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/*
|
GONOSUMCHECK: git.lethalbits.com/*
|
||||||
GOINSECURE: git.lethalbits.com/*
|
GOINSECURE: git.lethalbits.com/*
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish-nightly:
|
publish-nightly:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
@@ -10,6 +10,10 @@ env:
|
|||||||
GONOSUMCHECK: git.lethalbits.com/*
|
GONOSUMCHECK: git.lethalbits.com/*
|
||||||
GOINSECURE: git.lethalbits.com/*
|
GOINSECURE: git.lethalbits.com/*
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
packages: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
goreleaser:
|
goreleaser:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user