There was an error while loading. Please reload this page.
1 parent ee8d1ef commit 378e73bCopy full SHA for 378e73b
1 file changed
.github/workflows/claude-pr-reviewer.yml
@@ -54,6 +54,9 @@ on:
54
CLAUDE_CODE_OAUTH_TOKEN:
55
description: 'Org subscription OAuth token for Claude Code'
56
required: true
57
+ GITHUB_TOKEN:
58
+ required: true
59
+ description: 'Caller github token'
60
61
# Layer 2: the workflow GITHUB_TOKEN stays read-only. All writes go through the
62
# down-scoped App token minted below, which is what makes comments post as
@@ -95,6 +98,8 @@ jobs:
95
98
- name: Mint down-scoped app token
96
99
id: app-token
97
100
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1
101
+ env:
102
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN || github.token }}
103
with:
104
client-id: ${{ secrets.KNITLI_AGENT_CLIENT_ID }}
105
private-key: ${{ secrets.KNITLI_AGENT_PRIVATE_KEY }}
0 commit comments