Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 212beef

Browse files
committed
chore: insert github app token for triggering ci on automation PR
1 parent 3da23ec commit 212beef

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/py39-sync-cpython.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,17 @@ jobs:
2626
- name: Sync with CPython
2727
run: make clone && make merge && make rm_cpython
2828

29+
- uses: tibdex/github-app-token@v1
30+
id: generate-token
31+
with:
32+
app_id: ${{ secrets.APP_ID }}
33+
private_key: ${{ secrets.APP_PRIVATE_KEY }}
34+
2935
- name: Create Pull Request
3036
id: cpr
3137
uses: peter-evans/create-pull-request@v3
3238
with:
39+
token: ${{ steps.generate-token.outputs.token }}
3340
commit-message: sync with cpython ${{ env.LATEST_COMMIT_ID }}
3441
committer: GitHub <[email protected]>
3542
author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

0 commit comments

Comments
 (0)