Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit daf7de5

Browse files
authored
Update GitHub Actions workflow with permissions
Added permissions for write access to contents.
1 parent ba93aee commit daf7de5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/update.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ on:
55
schedule:
66
- cron: "0 12 * * *"
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
update:
1013
runs-on: ubuntu-latest
1114
steps:
1215
- name: checkout
1316
uses: actions/checkout@v5
14-
with:
15-
token: ${{ secrets.PERSONAL_ACCESS_TOKEN_UPDATE }}
1617

1718
- name: Set up Go
1819
uses: actions/setup-go@v5

0 commit comments

Comments
 (0)