Skip to content

Commit 378e73b

Browse files
authored
Update claude-pr-reviewer.yml
Signed-off-by: Adam Poulemanos <89049923+bashandbone@users.noreply.github.com>
1 parent ee8d1ef commit 378e73b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/claude-pr-reviewer.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ on:
5454
CLAUDE_CODE_OAUTH_TOKEN:
5555
description: 'Org subscription OAuth token for Claude Code'
5656
required: true
57+
GITHUB_TOKEN:
58+
required: true
59+
description: 'Caller github token'
5760

5861
# Layer 2: the workflow GITHUB_TOKEN stays read-only. All writes go through the
5962
# down-scoped App token minted below, which is what makes comments post as
@@ -95,6 +98,8 @@ jobs:
9598
- name: Mint down-scoped app token
9699
id: app-token
97100
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1
101+
env:
102+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN || github.token }}
98103
with:
99104
client-id: ${{ secrets.KNITLI_AGENT_CLIENT_ID }}
100105
private-key: ${{ secrets.KNITLI_AGENT_PRIVATE_KEY }}

0 commit comments

Comments
 (0)