Skip to content

Bump runner dependencies#94

Merged
EdGeraghty merged 4 commits into
developfrom
bump-runner-node
May 7, 2026
Merged

Bump runner dependencies#94
EdGeraghty merged 4 commits into
developfrom
bump-runner-node

Conversation

@EdGeraghty
Copy link
Copy Markdown
Member

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:

  • Added a new workflow .github/workflows/enforce-sha-pinned-actions.yml to automatically check that all external GitHub Actions are pinned to a specific commit SHA, preventing accidental upgrades and improving supply chain security.
  • Updated all workflow files (e.g., 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:

  • Enabled Dependabot updates for GitHub Actions by adding a new entry in .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.

@EdGeraghty EdGeraghty requested a review from Copilot May 7, 2026 08:49
@EdGeraghty EdGeraghty self-assigned this May 7, 2026
@EdGeraghty EdGeraghty changed the title Bump runner node Bump runner dependencies May 7, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

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-actions ecosystem.

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.

Comment thread .github/workflows/enforce-sha-pinned-actions.yml Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@EdGeraghty EdGeraghty merged commit a8514da into develop May 7, 2026
6 of 7 checks passed
@EdGeraghty EdGeraghty deleted the bump-runner-node branch May 7, 2026 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants