Skip to content

ci: pin third-party actions to commit SHAs - #27

Merged
arifintahu merged 1 commit into
mainfrom
ci/pin-actions
Oct 28, 2026
Merged

arifintahu merged 1 commit into
mainfrom
ci/pin-actions

Conversation

@arifintahu

Copy link
Copy Markdown
Member

What and why

release.yml runs with the updater signing key and contents: write, but used mutable tags. A moved tag could leak the key or publish a malicious signed update. Every action in ci.yml and release.yml is now pinned to a full commit SHA with the old ref in a comment, and Dependabot (github-actions, weekly) opens PRs to bump them.

dtolnay/rust-toolchain reads the toolchain from its ref name, so toolchain: stable is now explicit.

Fixes #22

How you checked it

  • Resolved each SHA through the GitHub API (two methods agree).
  • Both workflows and dependabot.yml parse as YAML.
  • Not tested: a real workflow run. CI only runs on pushes to main, so check the first run after merge.

Not in this PR

Settings that live on GitHub, not in the repo: put TAURI_SIGNING_PRIVATE_KEY in an Environment with required reviewers, and restrict who can push v* tags.

@arifintahu
arifintahu merged commit 1bc7a74 into main Oct 28, 2026
@arifintahu
arifintahu deleted the ci/pin-actions branch October 28, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci(release): pin third-party actions to commit SHAs

1 participant