Skip to content

Commit

Permalink
feat(update-issues): Use shaka-bot token
Browse files Browse the repository at this point in the history
If the SHAKA_BOT_TOKEN secret is not found, we will fall back to the
default GITHUB_TOKEN.
  • Loading branch information
joeyparrish committed Sep 1, 2023
1 parent 208556c commit fb4d926
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion update-issues/update-issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:

- name: Update Issues
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Use SHAKA_BOT_TOKEN if found, otherwise the default GITHUB_TOKEN.
GITHUB_TOKEN: ${{ secrets.SHAKA_BOT_TOKEN || secrets.GITHUB_TOKEN }}
run: |
cd update-issues
npm ci
Expand Down

0 comments on commit fb4d926

Please sign in to comment.