Skip to content

Commit 1f1f440

Browse files
authored
Update claude-docs.yml
Signed-off-by: Adam Poulemanos <89049923+bashandbone@users.noreply.github.com>
1 parent 099a9e7 commit 1f1f440

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/claude-docs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ on:
5151
CLAUDE_CODE_OAUTH_TOKEN:
5252
description: 'Org subscription OAuth token for Claude Code'
5353
required: true
54+
GITHUB_TOKEN:
55+
description: "Caller's GitHub token"
56+
required: true
5457

5558
# Layer 2: all author-facing writes (commits, the PR, comments) flow through the
5659
# down-scoped App token minted below, which is what makes them post as
@@ -85,6 +88,8 @@ jobs:
8588
- name: Mint down-scoped app token
8689
id: app-token
8790
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1
91+
env:
92+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN || github.token }}
8893
with:
8994
client-id: ${{ secrets.KNITLI_AGENT_CLIENT_ID }}
9095
private-key: ${{ secrets.KNITLI_AGENT_PRIVATE_KEY }}

0 commit comments

Comments
 (0)