Skip to content

Commit 62be918

Browse files
committed
fix: workflow permission for publishing draft release
1 parent bbe88b3 commit 62be918

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ on:
1212
# GitHub considers creating releases and uploading assets as writing contents.
1313
permissions:
1414
contents: write
15-
deployments: write
1615

1716
jobs:
1817
goreleaser:
@@ -45,6 +44,7 @@ jobs:
4544
environment: production
4645
runs-on: ubuntu-latest
4746
steps:
47+
- uses: actions/checkout@v4
4848
- run: gh release edit ${{ github.ref_name }} --draft=false
4949
env:
5050
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)