Skip to content

Commit 1c8f091

Browse files
committed
chore: pin GitHub Action versions to SHAs
1 parent fa7a5ef commit 1c8f091

3 files changed

Lines changed: 27 additions & 27 deletions

File tree

.github/workflows/mention.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ jobs:
2525
pull-requests: write
2626
steps:
2727
- name: Checkout Repo
28-
uses: actions/checkout@v5
28+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
2929
with:
3030
fetch-depth: 1
3131

3232
- name: React on Mention
33-
uses: anthropics/claude-code-action@v1
33+
uses: anthropics/claude-code-action@57ab6717ca1d3d137264d60c630870bd3b903729 # v1.0.92
3434
with:
3535
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
3636
claude_args: >-

.github/workflows/review.yaml

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

1717
steps:
1818
- name: Checkout Repo
19-
uses: actions/checkout@v5
19+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2020
with:
2121
fetch-depth: 1
2222

2323
- name: Review Changes
24-
uses: anthropics/claude-code-action@v1
24+
uses: anthropics/claude-code-action@57ab6717ca1d3d137264d60c630870bd3b903729 # v1.0.92
2525
with:
2626
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
2727
allowed_bots: "*"

.github/workflows/scan.yaml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -11,43 +11,43 @@ on:
1111
- cron: "0 6 * * 1"
1212

1313
jobs:
14-
vulns:
14+
leaks:
1515
runs-on: ubuntu-latest
1616

1717
steps:
1818
- name: Checkout Repo
19-
uses: actions/checkout@v5
19+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
20+
with:
21+
fetch-depth: 0
2022
- name: Setup Pnpm
21-
uses: pnpm/action-setup@v4
23+
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
2224
- name: Setup Node
23-
uses: actions/setup-node@v4
25+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
2426
with:
2527
node-version-file: package.json
26-
- name: Setup Python
27-
uses: actions/setup-python@v5
28-
with:
29-
python-version: "3.12"
30-
- name: Install Semgrep
31-
run: pip install semgrep
32-
- name: Run Vulnerability Scan
33-
run: pnpm vulns
28+
- name: Install Gitleaks
29+
run: |
30+
curl -sSfL https://github.com/gitleaks/gitleaks/releases/download/v8.30.1/gitleaks_8.30.1_linux_x64.tar.gz | tar -xz -C /usr/local/bin gitleaks
31+
- name: Run Secrets Scan
32+
run: pnpm leaks
3433

35-
leaks:
34+
vulns:
3635
runs-on: ubuntu-latest
3736

3837
steps:
3938
- name: Checkout Repo
40-
uses: actions/checkout@v5
41-
with:
42-
fetch-depth: 0
39+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
4340
- name: Setup Pnpm
44-
uses: pnpm/action-setup@v4
41+
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
4542
- name: Setup Node
46-
uses: actions/setup-node@v4
43+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
4744
with:
4845
node-version-file: package.json
49-
- name: Install Gitleaks
50-
run: |
51-
curl -sSfL https://github.com/gitleaks/gitleaks/releases/download/v8.30.1/gitleaks_8.30.1_linux_x64.tar.gz | tar -xz -C /usr/local/bin gitleaks
52-
- name: Run Secrets Scan
53-
run: pnpm leaks
46+
- name: Setup Python
47+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
48+
with:
49+
python-version: "3.12"
50+
- name: Install Semgrep
51+
run: pip install semgrep
52+
- name: Run Security Scan
53+
run: pnpm vulns

0 commit comments

Comments
 (0)