Skip to content

Commit e7b4e5d

Browse files
authored
Merge pull request #5 from hotdata-dev/fix/app-token-checkout
fix: use GitHub App token for cross-repo checkout
2 parents 7106cde + 4df1ce7 commit e7b4e5d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,18 @@ jobs:
1818
with:
1919
fetch-depth: 1
2020

21+
- name: Generate GitHub App token
22+
id: app-token
23+
uses: actions/create-github-app-token@v2
24+
with:
25+
app-id: 3060111
26+
private-key: ${{ secrets.HOTDATA_AUTOMATION_PRIVATE_KEY }}
27+
owner: hotdata-dev
28+
2129
- uses: actions/checkout@v4
2230
with:
2331
repository: hotdata-dev/github-workflows
32+
token: ${{ steps.app-token.outputs.token }}
2433
path: .github-workflows
2534
sparse-checkout: docs/claude-pr-review-prompt.md
2635
sparse-checkout-cone-mode: false

0 commit comments

Comments
 (0)