Use GITHUB_TOKEN

This commit is contained in:
Rob Winch
2024-06-04 11:02:34 -05:00
parent 5cb830628c
commit 74e37feb7d

View File

@@ -5,7 +5,8 @@ on:
- cron: '15 15 * * *' # Every day at 3:15pm UTC
workflow_dispatch:
permissions: read-all
permissions:
actions: write
jobs:
dispatch_scheduled_releases:
@@ -23,5 +24,5 @@ jobs:
fetch-depth: 1
- name: Dispatch
env:
GH_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh workflow run update-scheduled-release-version.yml -r ${{ matrix.branch }}