Skip to content

Commit 16417a4

Browse files
authored
Add GitHub App to allow using its token, to allow triggering build (#167)
1 parent ec6512f commit 16417a4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/auto-pr-on-issue.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ jobs:
1414
pull-requests: write
1515

1616
steps:
17+
- uses: actions/create-github-app-token@v2
18+
id: generate-token
19+
with:
20+
app-id: ${{ secrets.APP_ID }}
21+
private-key: ${{ secrets.APP_PRIVATE_KEY }}
1722

1823
- name: Checkout code
1924
uses: actions/checkout@v4
@@ -35,6 +40,7 @@ jobs:
3540
- name: Create Pull Request
3641
uses: peter-evans/create-pull-request@v6
3742
with:
43+
token: ${{ steps.generate-token.outputs.token }}
3844
add-paths: |
3945
src/coding-guidelines/
4046
commit-message: |

0 commit comments

Comments
 (0)