Skip to content

Commit fcfe75c

Browse files
Merge pull request #676 from danfiedler-msft/danfiedler/pin-actions
Pin GitHub Actions to full-length commit SHAs
2 parents ca3a999 + 43d2cf8 commit fcfe75c

3 files changed

Lines changed: 15 additions & 4 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
groups:
6+
github-actions:
7+
patterns: ["*"]
8+
schedule:
9+
interval: "weekly"
10+
cooldown:
11+
default-days: 7

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

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

2828
steps:
2929
- name: Checkout repository
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
3131
with:
3232
fetch-depth: 1
3333

3434
- name: Run Claude Code Review
3535
id: claude-review
36-
uses: anthropics/claude-code-action@v1
36+
uses: anthropics/claude-code-action@2dca132ff0e0c4094ce6048b422c6915a071210b # v1.0.247
3737
with:
3838
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
3939
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
@@ -42,13 +42,13 @@ jobs:
4242
actions: read # Required for Claude to read CI results on PRs
4343
steps:
4444
- name: Checkout repository
45-
uses: actions/checkout@v4
45+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
4646
with:
4747
fetch-depth: 1
4848

4949
- name: Run Claude Code
5050
id: claude
51-
uses: anthropics/claude-code-action@v1
51+
uses: anthropics/claude-code-action@2dca132ff0e0c4094ce6048b422c6915a071210b # v1.0.247
5252
with:
5353
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
5454

0 commit comments

Comments
 (0)