Bump runner dependencies#94
Merged
Merged
Conversation
Also pin them to a specific shasum rather than a floating ref
There was a problem hiding this comment.
Pull request overview
This pull request hardens the repository’s GitHub Actions setup by pinning third‑party actions to immutable SHAs and adding an automated check (plus Dependabot coverage) to keep workflow dependencies secure and maintainable over time.
Changes:
- Added a new workflow to fail CI when any workflow references an external action via a floating ref (tag/branch) rather than a full commit SHA (or image digest).
- Updated existing workflows to use SHA‑pinned
uses:references (with version comments). - Enabled Dependabot updates for the
github-actionsecosystem.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/enforce-sha-pinned-actions.yml |
New CI guardrail to enforce SHA/digest-pinned uses: entries in workflows. |
.github/workflows/build-with-smoke-tests.yml |
Pins checkout, setup-buildx, and cache actions to specific commits. |
.github/workflows/bump-upstream-releases.yml |
Pins checkout and create-pull-request actions to specific commits. |
.github/workflows/hadolint.yml |
Pins checkout and upload-sarif actions to specific commits (and annotates versions). |
.github/workflows/headscale-config-checker.yml |
Pins checkout and github-script actions to specific commits. |
.github/dependabot.yml |
Adds Dependabot updates for GitHub Actions dependencies. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces improvements to GitHub Actions workflows, focusing on enhanced security and maintainability. The main changes include enforcing SHA-pinned actions, updating workflows to use specific commit SHAs for all third-party actions, and adding Dependabot support for GitHub Actions dependencies.
Security and Workflow Hardening:
.github/workflows/enforce-sha-pinned-actions.ymlto automatically check that all external GitHub Actions are pinned to a specific commit SHA, preventing accidental upgrades and improving supply chain security.build-with-smoke-tests.yml,bump-upstream-releases.yml,hadolint.yml,headscale-config-checker.yml) to use SHA-pinned versions for all third-party actions, replacing version tags with full commit SHAs and adding version comments for clarity. [1] [2] [3] [4] [5] [6] [7] [8]Dependency Management:
.github/dependabot.yml, ensuring dependencies for workflows are kept up to date.These changes collectively improve the security, reliability, and maintainability of the project's CI/CD pipelines.