Skip to content

Signing job: third-party actions pinned to a commit - #1507

Merged
vmillet-dev merged 2 commits into
dev/1.0.1from
claude/pin-actions
Nov 13, 2026
Merged

vmillet-dev merged 2 commits into
dev/1.0.1from
claude/pin-actions

Conversation

@vmillet-dev

Copy link
Copy Markdown
Owner

Closes #1471

Checked on main before the change — the references are written in the files, so this is a check of the configuration, not a test:

  • .github/actions/setup-rust/action.yml:36 is dtolnay/rust-toolchain@master (a branch) and :54 is Swatinem/rust-cache@v2 (a moving tag). Every other action is on a major tag, and taiki-e/install-action@cargo-llvm-cov on a moving tag.
  • The last release run (https://github.com/vmillet-dev/devnotes-rs/actions/runs/42708230134, the jobs that package and sign) resolved them to dtolnay/rust-toolchain 683b588c, Swatinem/rust-cache d1527c8f, actions/checkout 3d3c42e5, actions/upload-artifact cf430e03, actions/download-artifact 9000827c, actions/setup-node 949feb24, softprops/action-gh-release 8a0cd651: nothing pinned them there.

Change — the 30 action references of the six workflows and of setup-rust are pinned by commit, the tag or branch they came from in a comment (actions/checkout@3d3c42e5… # v7). Each hash is the commit its tag pointed to today, the same as the release run above for the ones it used. Dependabot's github-actions entry now also reads /.github/actions/setup-rust, which directory: / alone did not. docs/releasing.md says the rule.

Tests — this pull request runs ci.yml, packages.yml, security-cargo.yml and security-npm.yml (their own files changed). release.yml runs at the next release's dry run. The next Dependabot github-actions run should propose hashes; the configuration is only validated on main (its check run).

Every action of every workflow, the composite setup-rust included, by commit with its tag in a comment.
@vmillet-dev
vmillet-dev merged commit 6514a29 into dev/1.0.1 Nov 13, 2026
18 of 23 checks passed
@vmillet-dev
vmillet-dev deleted the claude/pin-actions branch November 13, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

security Security fix or hardening

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant