Skip to content

Pin all Github actions to commit SHAs - #8506

Merged
generall merged 1 commit into
devfrom
ci/estebany/pin-github-actions-to-sha
Mar 26, 2026
Merged

generall merged 1 commit into
devfrom
ci/estebany/pin-github-actions-to-sha

Conversation

@estebany-qd

Copy link
Copy Markdown
Contributor

All Submissions:

  • Contributions should target the dev branch. Did you create your branch from dev?
  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Description

Pin all third-party Github actions to commit SHAs instead of tags. Preserved version comments for dependabot compatibility. Pinned SHAs are the commits that each current version tag resolves to, no version changes.

@coderabbitai

coderabbitai Bot commented Mar 25, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 539906ab-eac8-4130-892e-f5b929ff7dbf

📥 Commits

Reviewing files that changed from the base of the PR and between bcdf2d2 and 5a50e76.

📒 Files selected for processing (15)
  • .github/workflows/codespell.yml
  • .github/workflows/coverage.yml
  • .github/workflows/dev-docker-image-build-gpu.yml
  • .github/workflows/dev-docker-image-build.yml
  • .github/workflows/dev-docker-image-prune.yml
  • .github/workflows/docker-image.yml
  • .github/workflows/edge-py-release.yml
  • .github/workflows/edge-rust-release.yml
  • .github/workflows/edge-test.yml
  • .github/workflows/integration-tests.yml
  • .github/workflows/long-e2e-tests.yml
  • .github/workflows/release-artifacts.yml
  • .github/workflows/rust-gpu.yml
  • .github/workflows/rust-lint.yml
  • .github/workflows/rust.yml

📝 Walkthrough

Walkthrough

This PR updates 15 GitHub Actions workflow configuration files to pin all external action references to specific commit SHAs instead of using floating major and minor version tags. Changes apply consistently across .github/workflows/ files, including actions like actions/checkout, dtolnay/rust-toolchain, Swatinem/rust-cache, arduino/setup-protoc, and similar CI/CD actions. Workflow logic, job structure, and command execution remain unchanged; only action version references are modified to use immutable commits.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Suggested reviewers

  • timvisee
  • agourlay
  • coszio
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Pin all Github actions to commit SHAs' directly and clearly describes the primary change across all modified workflow files.
Description check ✅ Passed The description explains the purpose of pinning GitHub Actions to commit SHAs, mentions preservation of version comments, and clarifies no version changes are introduced.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/estebany/pin-github-actions-to-sha

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@generall
generall merged commit 8207bd1 into dev Mar 26, 2026
19 of 21 checks passed
@generall
generall deleted the ci/estebany/pin-github-actions-to-sha branch March 26, 2026 08:53
generall pushed a commit that referenced this pull request Mar 26, 2026
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