Skip to content

Commit 77421cc

Browse files
ci(release): add write permission to release job
GitHub Actions requires explicit `contents: write` permission to create releases and upload assets since the default token permissions were tightened.
1 parent 4ebae40 commit 77421cc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ jobs:
111111
needs: [build]
112112

113113
if: github.repository == 'nullmastermind/NotepadAI' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
114+
permissions:
115+
contents: write
114116
env:
115117
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
116118

0 commit comments

Comments
 (0)