Skip to content

Commit

Permalink
Make sure GITHUB_TOKEN is non-empty
Browse files Browse the repository at this point in the history
The gr2m/create-or-update-pull-request-action action checks if the token is non-empty up-front
before actually trying to use it. If there is no change that needs to be committed, that is
not needed.
  • Loading branch information
avdv committed Sep 25, 2024
1 parent 19fcf42 commit 795e99c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
id: update_pr
uses: gr2m/create-or-update-pull-request-action@v1
env:
GITHUB_TOKEN: ${{ secrets.PR_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PR_TOKEN || 'token-not-set' }}
with:
author: "bot <[email protected]>"
commit-message: "Update replay.deps hash"
Expand Down

0 comments on commit 795e99c

Please sign in to comment.