File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,17 @@ jobs:
1818 pull-requests : write
1919
2020 steps :
21+ - name : Generate GitHub App token
22+ id : app-token
23+ uses : actions/create-github-app-token@v1
24+ with :
25+ app-id : ${{ secrets.BOT_APP_ID }}
26+ private-key : ${{ secrets.BOT_PRIVATE_KEY }}
27+
2128 - name : Checkout repository
2229 uses : actions/checkout@v4
2330 with :
24- token : ${{ secrets.GITHUB_TOKEN }}
31+ token : ${{ steps.app-token.outputs.token }}
2532
2633 - name : Set up Python
2734 uses : actions/setup-python@v4
5158 - name : Create Pull Request
5259 uses : peter-evans/create-pull-request@v5
5360 with :
54- token : ${{ secrets.GITHUB_TOKEN }}
61+ token : ${{ steps.app-token.outputs.token }}
5562 commit-message : |
5663 feat: add manifest for ${{ steps.repo-info.outputs.repo_name }}
5764
You can’t perform that action at this time.
0 commit comments