Skip to content

chore(ci): pin GH actions to hashes - #7898

Merged
LesnyRumcajs merged 1 commit into
mainfrom
ci/pin-actions-to-hashes
Nov 19, 2026
Merged

LesnyRumcajs merged 1 commit into
mainfrom
ci/pin-actions-to-hashes

Conversation

@LesnyRumcajs

@LesnyRumcajs LesnyRumcajs commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Summary of changes

Changes introduced in this pull request:

  • pin actions to their current hashes, somehow hardens the CI against supply chain attacks
  • modified to config same way it's in ref-fvm - one update of all GH actions once a week
  • dropped some outdated ignore in actionlint

Reference issue to close (if applicable)

Closes

Other information and links

Change checklist

  • I have performed a self-review of my own code,
  • I have made corresponding changes to the documentation. All new code adheres to the team's documentation standards,
  • I have added tests that prove my fix is effective or that my feature works (if possible),
  • I have made sure the CHANGELOG is up-to-date. All user-facing changes should be reflected in this document.

Outside contributions

  • This pull request is based on an issue that a maintainer has accepted (see Before Opening a Pull Request).
  • I have read and agree to the CONTRIBUTING document.
  • I have read and agree to the AI Policy document. I understand that failure to comply with the guidelines will lead to rejection of the pull request.

Summary by CodeRabbit

  • Chores
    • GitHub Actions workflows now use specific, fixed revisions for their automation steps.
    • Automated dependency updates are grouped together and use a 7-day cooldown.
    • Coverage setup now installs its tools in a single step.
    • Updated workflow lint configuration.

@LesnyRumcajs
LesnyRumcajs requested a review from a team as a code owner November 18, 2026 20:50
@LesnyRumcajs
LesnyRumcajs requested review from EclesioMeloJunior and sudo-shashank and removed request for a team November 18, 2026 20:50
@LesnyRumcajs
LesnyRumcajs force-pushed the ci/pin-actions-to-hashes branch from 8a296d9 to e92f623 Compare November 18, 2026 20:50
@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

GitHub Actions references across CI, build, test, container, publishing, and reporting workflows now use commit SHAs. Dependabot’s GitHub Actions grouping and cooldown settings change. The actionlint configuration removes two diagnostic ignores.

Changes

GitHub Actions maintenance

Layer / File(s) Summary
Dependency update and lint policy
.github/actionlint.yaml, .github/dependabot.yml
The actionlint configuration removes two diagnostic ignores. Dependabot removes the open pull request limit and separate artifact and Docker groups, and adds a 7-day cooldown and one group for all GitHub Actions updates.
CI lint and documentation workflows
.github/workflows/{actions-lint,docs-*,go-lint,link-check,lists-lint,rubocop,rust-lint,shellcheck,yaml-lint}.yml
The workflows use commit-SHA action references with version comments. Existing filters and workflow steps remain unchanged.
Build and test workflows
.github/workflows/{butterflynet,cargo-*,coverage,external-rpc-checks,forest,miner-tests}.yml
Actions in build and test workflows use commit-SHA references. The coverage workflow combines its two tool-installation steps into one step.
Publishing and reporting workflows
.github/workflows/{checkpoints,docker*,dockerfile-check,lotus-*,release*,rpc-parity*,snapshot-parity,this-month-in-forest-reminder}.yml
Actions in container, publishing, issue-automation, and parity-reporting workflows use commit-SHA references. Existing action inputs, conditions, and workflow settings remain unchanged.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Merge Risk: Minimal · up to e92f6

This change pins CI actions to commit hashes and updates the Dependabot grouping, so it improves supply-chain hardening without changing workflow logic. No merge-blocking issues were found. The main practical effect is that action updates now arrive through the grouped Dependabot pull requests.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "chore(ci): pin GH actions to hashes" matches the main change. The raw summary shows nearly every workflow file pinning GitHub Actions to commit SHAs instead of version tags. The PR objectiv…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "chore(ci): pin GH actions to hashes" matches the main change. The raw summary shows nearly every workflow file pinning GitHub Actions to commit SHAs instead of version tags. The PR objectives also state that the goal is pinning actions to commit hashes. The title is short, specific, and uses a conventional commit prefix. It omits the Dependabot cooldown and grouping change and the actionlint ignore removal, but the title does not need to cover every detail.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
Simplify code

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Linked repositories: skipped filecoin-project/lotus. Repositories added from the pull request branch configuration require the pull request author (and the user who triggered the review, when different) to have read access to them.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 2127d2a8-364c-47da-8eba-e42014cec5b5
Commits

Reviewing files that changed from the base of the PR and between 278fcb8 and e92f623.

Files selected for processing: 35

  • .github/actionlint.yaml
  • .github/dependabot.yml
  • .github/workflows/actions-lint.yml
  • .github/workflows/butterflynet.yml
  • .github/workflows/cargo-advisories.yml
  • .github/workflows/cargo-publish-dry-run.yml
  • .github/workflows/checkpoints.yml
  • .github/workflows/coverage.yml
  • .github/workflows/docker-dev.yml
  • .github/workflows/docker-latest-tag.yml
  • .github/workflows/docker-lint.yml
  • .github/workflows/docker.yml
  • .github/workflows/dockerfile-check.yml
  • .github/workflows/docs-auto-update.yml
  • .github/workflows/docs-check.yml
  • .github/workflows/docs-deploy.yml
  • .github/workflows/docs-required-override.yml
  • .github/workflows/external-rpc-checks.yml
  • .github/workflows/forest.yml
  • .github/workflows/go-lint.yml
  • .github/workflows/link-check.yml
  • .github/workflows/lists-lint.yml
  • .github/workflows/lotus-api-bump.yml
  • .github/workflows/lotus-devnet-publish.yml
  • .github/workflows/miner-tests.yml
  • .github/workflows/release.yml
  • .github/workflows/release_dispatch.yml
  • .github/workflows/rpc-parity-report.yml
  • .github/workflows/rpc-parity.yml
  • .github/workflows/rubocop.yml
  • .github/workflows/rust-lint.yml
  • .github/workflows/shellcheck.yml
  • .github/workflows/snapshot-parity.yml
  • .github/workflows/this-month-in-forest-reminder.yml
  • .github/workflows/yaml-lint.yml
Files with no reviewable changes: 1

  • .github/actionlint.yaml

Included review availability: This review used your included allowance. 4 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.

@codecov

codecov Bot commented Nov 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.98%. Comparing base (278fcb8) to head (e92f623).
✅ All tests successful. No failed tests found.

Additional details and impacted files

see 7 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 278fcb8...e92f623. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@LesnyRumcajs
LesnyRumcajs added this pull request to the merge queue Nov 19, 2026
Merged via the queue into main with commit f831243 Nov 19, 2026
61 checks passed
@LesnyRumcajs
LesnyRumcajs deleted the ci/pin-actions-to-hashes branch November 19, 2026 03:01

This branch was successfully deployed

1 active deployment
preview — e92f623d Deployed Nov 18, 2026 by github-actions[bot]
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