Skip to content

Commit 74e37fe

Browse files
committed
Use GITHUB_TOKEN
1 parent 5cb8306 commit 74e37fe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release-scheduler.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ on:
55
- cron: '15 15 * * *' # Every day at 3:15pm UTC
66
workflow_dispatch:
77

8-
permissions: read-all
8+
permissions:
9+
actions: write
910

1011
jobs:
1112
dispatch_scheduled_releases:
@@ -23,5 +24,5 @@ jobs:
2324
fetch-depth: 1
2425
- name: Dispatch
2526
env:
26-
GH_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
27+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2728
run: gh workflow run update-scheduled-release-version.yml -r ${{ matrix.branch }}

0 commit comments

Comments
 (0)