Skip to content

Commit 8ec2a1c

Browse files
chore(security): SHA-pin dtolnay/rust-toolchain + add top-level workflow permissions (#74)
## Summary Salvages an unpushed orphan commit (\`bbce567\` from 2026-05-23) from local main during a 2026-05-31 closeout sweep: - SHA-pins \`dtolnay/rust-toolchain@stable\` → \`@4be9e76fd7c4901c61fb841f559994984270fce7 # stable\` in \`.github/workflows/security.yml\`. - Adds top-level \`permissions: read-all\` to \`.github/workflows/ocaml-core.yml\` (was missing; baseline-deny pattern from the fleet-wide hardening pass). - Net diff: 2 files, +4/-2. ## Verification - SHA \`4be9e76f...\` confirmed real via \`gh api repos/dtolnay/rust-toolchain/commits/4be9e76fd7c4901c61fb841f559994984270fce7\` → HTTP 200. - Original commit GPG-signed. ## Test plan - [x] SHA verified live - [ ] CI passes (running)
1 parent f6a16f0 commit 8ec2a1c

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/ocaml-core.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ on:
1919
- 'dune-project'
2020
- '*.opam'
2121

22+
permissions: read-all
23+
2224
jobs:
2325
build:
2426
name: Build and Test OCaml Core

.github/workflows/security.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2727

2828
- name: Install Rust toolchain
29-
uses: dtolnay/rust-toolchain@stable
29+
uses: dtolnay/rust-toolchain@4be9e76fd7c4901c61fb841f559994984270fce7 # stable
3030

3131
- name: Install cargo-audit
3232
run: cargo install cargo-audit --locked
@@ -60,7 +60,7 @@ jobs:
6060
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6161

6262
- name: Install Rust toolchain
63-
uses: dtolnay/rust-toolchain@stable
63+
uses: dtolnay/rust-toolchain@4be9e76fd7c4901c61fb841f559994984270fce7 # stable
6464

6565
- name: Cache cargo registry
6666
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4

0 commit comments

Comments
 (0)