Skip to content

Commit

Permalink
Use Personal Access Token instead of Github token
Browse files Browse the repository at this point in the history
Default Github token does not trigger CI when bot creates a new PR. See
<peter-evans/create-pull-request#48> for more
details.
  • Loading branch information
statiolake committed Jan 9, 2020
1 parent bcfe223 commit f06a9e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.REPO_SCOPED_TOKEN }}
commit-message: "[bot] Update the crates"
title: "[bot] Update the crates"
body: ${{ steps.upgrade.outputs.body }}
Expand Down

0 comments on commit f06a9e0

Please sign in to comment.