Skip to content

Commit 05c7973

Browse files
committed
ci: pin all GitHub Actions to commit SHAs
Pin remaining actions that were using mutable tags to specific commit SHAs for supply chain security. This ensures CI runs are reproducible and not vulnerable to tag hijacking. Actions pinned: - actions/checkout@v6 -> de0fac2e (v6.0.2) - astral-sh/setup-uv@v7.2.1 -> 803947b9 - anthropics/claude-code-action@v1 -> 2f8ba26a (v1.0.53) Affected workflows: - weekly-lockfile-update.yml - claude.yml - claude-code-review.yml
1 parent b9431d4 commit 05c7973

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

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

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

2020
steps:
2121
- name: Checkout repository
22-
uses: actions/checkout@v6
22+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2323
with:
2424
fetch-depth: 1
2525

2626
- name: Run Claude Code Review
2727
id: claude-review
28-
uses: anthropics/claude-code-action@v1
28+
uses: anthropics/claude-code-action@2f8ba26a219c06cfb0f468eef8d97055fa814f97 # v1.0.53
2929
with:
3030
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
3131
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
@@ -27,13 +27,13 @@ jobs:
2727
actions: read # Required for Claude to read CI results on PRs
2828
steps:
2929
- name: Checkout repository
30-
uses: actions/checkout@v6
30+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3131
with:
3232
fetch-depth: 1
3333

3434
- name: Run Claude Code
3535
id: claude
36-
uses: anthropics/claude-code-action@v1
36+
uses: anthropics/claude-code-action@2f8ba26a219c06cfb0f468eef8d97055fa814f97 # v1.0.53
3737
with:
3838
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
3939
use_commit_signing: true

.github/workflows/weekly-lockfile-update.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
update-lockfile:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v6
17+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1818

19-
- uses: astral-sh/setup-uv@v7.2.1
19+
- uses: astral-sh/setup-uv@803947b9bd8e9f986429fa0c5a41c367cd732b41 # v7.2.1
2020
with:
2121
version: 0.9.5
2222

0 commit comments

Comments
 (0)