Skip to content

Commit 9f73312

Browse files
authored
Add GitHub App token generation to PR assistant
1 parent 47936e2 commit 9f73312

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/pr-assistant.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,15 @@ jobs:
1313
pr-assistant:
1414
runs-on: ubuntu-latest
1515
steps:
16+
- name: Generate GitHub App token
17+
id: app-token
18+
uses: actions/create-github-app-token@v2
19+
with:
20+
app-id: ${{ secrets.CODEX_ASSISTANT_APP_ID }}
21+
private-key: ${{ secrets.CODEX_ASSISTANT_PRIVATE_KEY }}
22+
1623
- uses: codex-team/action-pr-assistant@master
1724
with:
1825
check: description
1926
mode: draft
27+
token: ${{ steps.app-token.outputs.token }}

0 commit comments

Comments
 (0)