Skip to content

Commit ece416c

Browse files
authored
Update GitHub Actions workflow permissions and token
1 parent a53ed48 commit ece416c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/merge-hook-test.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
branches:
77
- main
88

9+
permissions:
10+
contents: write
11+
912
jobs:
1013
update-version:
1114
# Only run if the PR was actually merged (not just closed)
@@ -17,7 +20,7 @@ jobs:
1720
uses: actions/checkout@v4
1821
with:
1922
ref: main
20-
token: ${{ secrets.IKMDEVOPS_PAT_TOKEN }}
23+
token: ${{ secrets.GITHUB_TOKEN }}
2124

2225
- name: Set up JDK
2326
uses: actions/setup-java@v4

0 commit comments

Comments
 (0)