mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-22 06:28:03 +01:00
Switch to github app token for dependencies pull requests
This commit is contained in:
parent
aa632b82af
commit
3df3dd175d
1 changed files with 7 additions and 1 deletions
8
.github/workflows/update-dependencies.yaml
vendored
8
.github/workflows/update-dependencies.yaml
vendored
|
@ -27,11 +27,17 @@ jobs:
|
|||
run: |
|
||||
pip install pip-tools invoke
|
||||
invoke update-dependencies --no-sync
|
||||
- name: Generate token
|
||||
uses: tibdex/github-app-token@v1
|
||||
id: generate-token
|
||||
with:
|
||||
app_id: ${{ secrets.PR_APP_ID }}
|
||||
private_key: ${{ secrets.PR_APP_PRIVATE_KEY }}
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v4
|
||||
id: create-pull-request
|
||||
with:
|
||||
token: ${{ secrets.PERSONAL_TOKEN_PR }}
|
||||
token: ${{ steps.generate-token.outputs.token }}
|
||||
commit-message: Update dependencies
|
||||
base: master
|
||||
branch: update-dependencies
|
||||
|
|
Loading…
Reference in a new issue