Skip to content

ci: harden supply chain — pin actions, lock permissions, deny git deps - #1092

Merged
mattsse merged 2 commits into
mainfrom
georgen/harden-ci-supply-chain
Apr 24, 2026
Merged

mattsse merged 2 commits into
mainfrom
georgen/harden-ci-supply-chain

Conversation

@decofe

@decofe decofe commented Apr 16, 2026 •

Copy link
Copy Markdown
Contributor

Pin all GH Actions to SHA, add permissions: {} with per-job contents: read, add persist-credentials: false to all checkouts, pin tempoxyz/ci reusable workflow to SHA, change unknown-git from allow to deny in deny.toml (with explicit allow-git for the rkyv Miri patch), and add Dependabot config with 7-day cooldown.

Prompted by: georgen

- Pin all actions to SHA (actions/checkout, dtolnay/rust-toolchain,
  Swatinem/rust-cache, taiki-e/install-action, crate-ci/typos,
  re-actors/alls-green, tempoxyz/ci)
- Add top-level permissions: {} and per-job contents: read
- Add persist-credentials: false to all checkout steps
- Change unknown-git from allow to deny in deny.toml
- Add dependabot config with 7-day cooldown

Co-Authored-By: grandizzy <[email protected]>
The rkyv patch is needed for Miri CI. Allow this specific git source
while keeping unknown-git = deny for everything else.

Co-Authored-By: grandizzy <[email protected]>
@github-project-automation github-project-automation Bot moved this to Reviewed in Alloy Apr 24, 2026
@mattsse
mattsse merged commit 2ebfa5b into main Apr 24, 2026
31 checks passed
@mattsse
mattsse deleted the georgen/harden-ci-supply-chain branch April 24, 2026 07:12
@github-project-automation github-project-automation Bot moved this from Reviewed to Done in Alloy Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants