Skip to content

Commit 909cd61

Browse files
authored
Fix permissions for release
1 parent 95bdddd commit 909cd61

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/new-release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,14 @@ jobs:
88
make-new-release:
99
name: "Releasing plugin"
1010
runs-on: ubuntu-latest
11+
permissions:
12+
# Give the default GITHUB_TOKEN write permission to commit and push the
13+
# changed files to the repository.
14+
contents: write
1115
steps:
1216
- uses: actions/checkout@v4.2.2
17+
with:
18+
ref: ${{ github.head_ref }}
1319
- name: set up JDK 1.8
1420
uses: actions/setup-java@v4
1521
with:

0 commit comments

Comments
 (0)