Skip to content

Commit 94de918

Browse files
committed
fix: checkout github-workflows repo to load review prompt
1 parent c87a634 commit 94de918

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,17 @@ jobs:
1818
with:
1919
fetch-depth: 1
2020

21+
- uses: actions/checkout@v4
22+
with:
23+
repository: hotdata-dev/github-workflows
24+
path: .github-workflows
25+
sparse-checkout: docs/claude-pr-review-prompt.md
26+
sparse-checkout-cone-mode: false
27+
2128
- name: Load review prompt
2229
id: prompt
2330
run: |
24-
PROMPT=$(cat docs/claude-pr-review-prompt.md)
31+
PROMPT=$(cat .github-workflows/docs/claude-pr-review-prompt.md)
2532
echo "content<<EOF" >> $GITHUB_OUTPUT
2633
echo "$PROMPT" >> $GITHUB_OUTPUT
2734
echo "EOF" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)