Skip to content

Commit a1aaf1f

Browse files
committed
fix: replace archived action for gen app token
1 parent 6e856b4 commit a1aaf1f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,17 @@ jobs:
3636
- name: Sync with CPython
3737
run: make clone merge rm_cpython wrap
3838

39-
- uses: tibdex/github-app-token@v2
40-
id: generate-token
39+
- uses: actions/create-github-app-token@v2
40+
id: app-token
4141
with:
42-
app_id: ${{ secrets.APP_ID }}
43-
private_key: ${{ secrets.APP_PRIVATE_KEY }}
42+
app-id: ${{ secrets.APP_ID }}
43+
private-key: ${{ secrets.APP_PRIVATE_KEY }}
4444

4545
- name: Create Pull Request
4646
id: cpr
4747
uses: peter-evans/create-pull-request@v6
4848
with:
49-
token: ${{ steps.generate-token.outputs.token }}
49+
token: ${{ steps.app-token.outputs.token }}
5050
commit-message: sync with cpython ${{ env.LATEST_COMMIT_ID }}
5151
committer: GitHub <[email protected]>
5252
author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

0 commit comments

Comments
 (0)