Skip to content
This repository was archived by the owner on Jun 16, 2026. It is now read-only.

Commit 1e0aecf

Browse files
authored
add explicit permissions-contents-write to build job in build.yml
1 parent 799fc6e commit 1e0aecf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88

99
build:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
1113
continue-on-error: true
1214
steps:
1315
- name: Check out repository
@@ -37,4 +39,4 @@ jobs:
3739
git commit -m 'update README' || exit 0
3840
git push
3941
env:
40-
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
42+
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)