Skip to content

Commit

Permalink
Use GITHUB_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
rwinch authored Jan 26, 2024
1 parent 2dd5498 commit d8b33be
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release-scheduler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on:
- cron: '15 13 * * WED' # Every Wed at 13:15pm UTC
workflow_dispatch:

permissions: read-all
permissions:
actions: write

jobs:
dispatch_scheduled_releases:
Expand All @@ -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 }}

0 comments on commit d8b33be

Please sign in to comment.