Skip to content

Pin action versions#86

Merged
raviqqe merged 1 commit into
mainfrom
chore/action-pin
Mar 25, 2026
Merged

Pin action versions#86
raviqqe merged 1 commit into
mainfrom
chore/action-pin

Conversation

@raviqqe

@raviqqe raviqqe commented Mar 25, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings March 25, 2026 15:48
@raviqqe
raviqqe enabled auto-merge (squash) March 25, 2026 15:48
@raviqqe
raviqqe merged commit a8a8769 into main Mar 25, 2026
11 checks passed
@raviqqe
raviqqe deleted the chore/action-pin branch March 25, 2026 15:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Pins GitHub Action dependencies in CI and release workflows to immutable commit SHAs to improve supply-chain safety and reproducibility.

Changes:

  • Pin actions/checkout to a specific commit SHA across test/build/lint/format and release workflows.
  • Pin rust-lang/crates-io-auth-action and swatinem/rust-cache to specific commit SHAs.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/test.yaml Pins actions/checkout to a commit SHA in all jobs.
.github/workflows/release.yaml Pins actions/checkout and crates.io auth action to commit SHAs.
.github/actions/setup/action.yaml Pins swatinem/rust-cache to a commit SHA (but leaves another action unpinned).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

# spell-checker: disable-next-line
- uses: swatinem/rust-cache@v2
- uses: swatinem/rust-cache@c676846f29d98ff6b0106d3608c7ffd4048af17b # v2.9.0
- uses: homebrew/actions/setup-homebrew@master

Copilot AI Mar 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

homebrew/actions/setup-homebrew is still referenced via @master, which is a moving target and undermines the goal of pinning action versions (also a supply-chain risk). Pin this action to a specific commit SHA (and optionally annotate the intended release/tag in a comment) similar to the other actions in this PR.

Suggested change
- uses: homebrew/actions/setup-homebrew@master
- uses: homebrew/actions/setup-homebrew@93f46cc0bf0ee06b6ade24f1525c5e8f302ff628 # v3

Copilot uses AI. Check for mistakes.
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.

2 participants