Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/claude-pr-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,18 @@ jobs:
with:
fetch-depth: 1

- name: Generate GitHub App token
id: app-token
uses: actions/create-github-app-token@v2
with:
app-id: 3060111
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider storing the app ID as a repository variable (vars.HOTDATA_APP_ID) rather than hardcoding it. App IDs aren't secrets, but keeping it in vars makes the workflow easier to update without a code change if the app ever rotates.

Suggested change
app-id: 3060111
app-id: ${{ vars.HOTDATA_APP_ID }}

private-key: ${{ secrets.HOTDATA_AUTOMATION_PRIVATE_KEY }}
owner: hotdata-dev

- uses: actions/checkout@v4
with:
repository: hotdata-dev/github-workflows
token: ${{ steps.app-token.outputs.token }}
path: .github-workflows
sparse-checkout: docs/claude-pr-review-prompt.md
sparse-checkout-cone-mode: false
Expand Down
Loading