Skip to content

Commit 3a01484

Browse files
authored
ci: use GitHub App to make PRs (#490)
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 6b90f31 commit 3a01484

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/bump.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ jobs:
1313
name: Bump versions
1414
runs-on: ubuntu-latest
1515
steps:
16+
- uses: actions/create-github-app-token@v1
17+
id: generate-token
18+
with:
19+
app-id: ${{ secrets.APP_ID }}
20+
private-key: ${{ secrets.APP_PRIVATE_KEY }}
1621
- uses: actions/checkout@v4
1722
- run: pipx run nox -s pc_bump
1823
env:
@@ -25,5 +30,6 @@ jobs:
2530
body: |
2631
Update the versions mentioned in the docs pages.
2732
28-
PR generated by "Update dependencies" [workflow](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}). Close and reopen to trigger ci.
33+
PR generated by "Update dependencies" [workflow](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}).
34+
token: ${{ steps.generate-token.outputs.token }}
2935
delete-branch: true

0 commit comments

Comments
 (0)