Skip to content

Commit 4afa3fa

Browse files
committed
[workflows/release] Try fixing release step permission
1 parent c20e92c commit 4afa3fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
release:
3737
runs-on: ubuntu-latest
3838
needs: build
39+
permissions:
40+
contents: write
3941
steps:
4042
- uses: actions/checkout@v4
4143
- name: Download artifacts
@@ -58,8 +60,6 @@ jobs:
5860
done
5961
- name: Create release
6062
uses: ncipollo/release-action@v1.14.0
61-
permissions:
62-
contents: write
6363
with:
6464
artifacts: 'bin/gpt_cmd*'
6565
tag: ${{ github.ref }}

0 commit comments

Comments
 (0)