Skip to content

Commit cf2c8b7

Browse files
sugyanclaude
andauthored
chore: Pin GitHub Actions to commit SHAs for security (#329)
Pin all GitHub Actions to specific commit SHAs instead of version tags to improve supply chain security and prevent potential tag manipulation. Changes: - actions/checkout: v4 → v4.3.0 (08eba0b) - Swatinem/rust-cache: v2 → v2.7.3 (82a92a6) - actions/upload-artifact: v4 → v4.4.3 (80b2bf3) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
1 parent dd18e0f commit cf2c8b7

12 files changed

Lines changed: 17 additions & 17 deletions

File tree

.github/workflows/api.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
test:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
1717
- name: Build
1818
run: |
1919
cargo build -p atrium-api --verbose

.github/workflows/bsky-sdk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
test:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
1717
- name: Build
1818
run: |
1919
cargo build -p bsky-sdk --verbose

.github/workflows/common.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
1414
- name: Build
1515
run: |
1616
cargo build -p atrium-common --verbose

.github/workflows/crypto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
test:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
1717
- name: Build
1818
run: |
1919
cargo build -p atrium-crypto --verbose

.github/workflows/identity.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
test:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
1717
- name: Build
1818
run: |
1919
cargo build -p atrium-identity --verbose

.github/workflows/oauth.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
test:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
1717
- name: Build
1818
run: |
1919
cargo build -p atrium-oauth --verbose

.github/workflows/release-plz.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout repository
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
1919
with:
2020
fetch-depth: 0
2121
- name: Install Rust toolchain
2222
uses: dtolnay/rust-toolchain@stable
2323
- name: Run release-plz
24-
uses: release-plz/action@v0.5
24+
uses: release-plz/action@acb9246af4d59a270d1d4058a8b9af8c3f3a2559 # v0.5.117
2525
env:
2626
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2727
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

.github/workflows/repo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
test:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
1717
- name: Build
1818
run: |
1919
cargo build -p atrium-repo --verbose

.github/workflows/rust.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ jobs:
2828

2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@v4
31+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
3232

3333
- name: Install Rust toolchain
34-
uses: actions-rust-lang/setup-rust-toolchain@v1
34+
uses: actions-rust-lang/setup-rust-toolchain@02be93da58aa71fb456aa9c43b301149248829d8 # v1.15.1
3535
with:
3636
toolchain: ${{ matrix.rust }}
3737
components: rustfmt, clippy
@@ -43,7 +43,7 @@ jobs:
4343
run: cargo build --verbose
4444

4545
- name: Lint (clippy)
46-
uses: giraffate/clippy-action@v1
46+
uses: giraffate/clippy-action@13b9d32482f25d29ead141b79e7e04e7900281e0 # v1.0.1
4747
with:
4848
reporter: "github-pr-check"
4949
github_token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/wasm.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
- wasm32-wasi
1818

1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
2121
with:
2222
path: crates
2323
- name: Install Rust 1.75.0
24-
uses: actions-rust-lang/setup-rust-toolchain@v1
24+
uses: actions-rust-lang/setup-rust-toolchain@02be93da58aa71fb456aa9c43b301149248829d8 # v1.15.1
2525
with:
2626
toolchain: 1.75.0
2727
# We use a synthetic crate to ensure no dev-dependencies are enabled, which can
@@ -62,7 +62,7 @@ jobs:
6262
name: Testing with wasm-bindgen-test
6363
runs-on: ubuntu-latest
6464
steps:
65-
- uses: actions/checkout@v4
65+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
6666
- name: Add target
6767
run: rustup target add wasm32-unknown-unknown
6868
- name: Install wasm-pack

0 commit comments

Comments
 (0)