Skip to content

Pin actions to latest versions - #259

Merged
kevinbackhouse merged 3 commits into
GitHubSecurityLab:mainfrom
kevinbackhouse:update-actions-versions
Jun 1, 2026
Merged

kevinbackhouse merged 3 commits into
GitHubSecurityLab:mainfrom
kevinbackhouse:update-actions-versions

Conversation

@kevinbackhouse

Copy link
Copy Markdown
Contributor

I checked all of these manually. If the action uses immutable releases, then I use the version number:

uses: actions/attest@v4.1.0 # immutable release

otherwise, I use the SHA:

actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

Copilot AI review requested due to automatic review settings June 1, 2026 15:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates GitHub Actions workflow dependencies to be pinned to specific immutable versions (commit SHAs where appropriate, and version tags where releases are treated as immutable), improving supply-chain security and reproducibility across CI/release pipelines.

Changes:

  • Bump and pin common actions (checkout, setup-python) to specific SHAs across workflows.
  • Update artifact publishing workflows to newer pinned versions of upload-artifact and PyPI publish actions.
  • Pin CodeQL and attestation actions to explicit immutable release versions.
Show a summary per file
File Description
.github/workflows/smoketest.yaml Pins github/branch-deploy, actions/setup-python, and actions/checkout to updated immutable references for the smoke test workflow.
.github/workflows/release.yml Pins checkout/setup-python and updates the attestation action reference used during container release.
.github/workflows/publish-to-testpypi.yaml Updates pinned SHAs/versions for checkout/setup-python/upload-artifact and PyPI publish action.
.github/workflows/publish-to-pypi.yaml Updates pinned SHAs/versions for checkout/setup-python/upload-artifact and PyPI publish action.
.github/workflows/codeql.yml Pins checkout and CodeQL init/analyze steps to explicit immutable release versions.
.github/workflows/ci.yml Pins checkout and setup-python to explicit SHAs in CI matrix runs.

Copilot's findings

Tip

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

  • Files reviewed: 6/6 changed files
  • Comments generated: 1

Comment thread .github/workflows/smoketest.yaml Resolved
Copilot AI review requested due to automatic review settings June 1, 2026 16:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot's findings

  • Files reviewed: 6/6 changed files
  • Comments generated: 0 new

@kevinbackhouse
kevinbackhouse merged commit 171a88a into GitHubSecurityLab:main Jun 1, 2026
9 checks passed
@kevinbackhouse
kevinbackhouse deleted the update-actions-versions branch June 1, 2026 16:37
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.

3 participants