Skip to content

Commit 13002af

Browse files
authored
Grant write permissions to GITHUB_TOKEN
Added permissions for GITHUB_TOKEN to allow write access.
1 parent 3bc7b3a commit 13002af

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/release-draft.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ jobs:
88
publishGitRelease:
99
if: startsWith(github.event.base_ref, 'refs/heads/release')
1010
runs-on: ubuntu-latest
11+
12+
permissions:
13+
# Give the default GITHUB_TOKEN write permission to commit and push the
14+
# added or changed files to the repository.
15+
contents: write
16+
1117
steps:
1218
- uses: actions/checkout@v4
1319
- name: Release

0 commit comments

Comments
 (0)