Skip to content

Commit befce9d

Browse files
authored
[TRIVIAL] Pin Claude workflow actions to full commit SHAs (#4323)
## Summary Pin `actions/checkout` and `anthropics/claude-code-action` to full commit SHAs in Claude workflow files, as required by the repo's action policy. - `actions/checkout@v4` → `actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683` (v4.2.2) - `anthropics/claude-code-action@v1` → `anthropics/claude-code-action@e0f2d99545298b87c2f984ab534af3a6534142ae` (v1)
1 parent 1467ba0 commit befce9d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616

1717
steps:
1818
- name: Checkout repository
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2020
with:
2121
fetch-depth: 1
2222

2323
- name: Run Claude Code Review
2424
id: claude-review
25-
uses: anthropics/claude-code-action@v1
25+
uses: anthropics/claude-code-action@e0f2d99545298b87c2f984ab534af3a6534142ae # v1
2626
with:
2727
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
2828
plugin_marketplaces: 'https://github.com/anthropics/claude-code.git'

.github/workflows/claude.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ jobs:
2626
actions: read # Required for Claude to read CI results on PRs
2727
steps:
2828
- name: Checkout repository
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3030
with:
3131
fetch-depth: 1
3232

3333
- name: Run Claude Code
3434
id: claude
35-
uses: anthropics/claude-code-action@v1
35+
uses: anthropics/claude-code-action@e0f2d99545298b87c2f984ab534af3a6534142ae # v1
3636
with:
3737
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
3838

0 commit comments

Comments
 (0)