Skip to content

Commit a34b3a1

Browse files
committed
fix: specify ref for cross-repo checkout, add timeout and continue-on-error
1 parent e7b4e5d commit a34b3a1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
# TODO: remove author filter after testing is complete
1010
if: github.event.pull_request.draft == false && github.event.pull_request.user.login == 'zfarrell'
1111
runs-on: ubuntu-latest
12+
timeout-minutes: 15
1213
permissions:
1314
contents: read
1415
pull-requests: write
@@ -29,6 +30,7 @@ jobs:
2930
- uses: actions/checkout@v4
3031
with:
3132
repository: hotdata-dev/github-workflows
33+
ref: main
3234
token: ${{ steps.app-token.outputs.token }}
3335
path: .github-workflows
3436
sparse-checkout: docs/claude-pr-review-prompt.md
@@ -43,6 +45,7 @@ jobs:
4345
echo "EOF" >> $GITHUB_OUTPUT
4446
4547
- uses: anthropics/claude-code-action@v1
48+
continue-on-error: true
4649
with:
4750
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
4851
track_progress: false

0 commit comments

Comments
 (0)