Skip to content

Pin GitHub Actions to SHAs [SRE-1802] - #9

Draft
tylergohl wants to merge 2 commits into
masterfrom
sre-1802-pin-actions-to-shas
Draft

Pin GitHub Actions to SHAs [SRE-1802]#9
tylergohl wants to merge 2 commits into
masterfrom
sre-1802-pin-actions-to-shas

Conversation

@tylergohl

@tylergohl tylergohl commented May 21, 2026

Copy link
Copy Markdown

Summary

Pin GitHub Actions references in this repo to immutable commit SHAs (with the original tag/branch preserved in a trailing comment). Part of SRE-1802 — org-wide supply-chain hardening.

Scope

This PR pins:

  • Internal ctrliq/* reusable workflow and action references
  • External actions not handled by clo-ciq's parallel Node 20 effort

No actions in this repo were claimed by clo-ciq's effort — this PR pins everything.

Files touched

  • .github/workflows/ci.yml
  • .github/workflows/label-when-deployed.yml

Test plan

  • Workflow runs succeed on this branch (or on next trigger after merge)
  • Once this and any companion clo-ciq PR merge, this repo has zero unpinned external/internal refs and sha_pinning_required can be enabled on it

Copilot AI review requested due to automatic review settings May 21, 2026 01:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Supply-chain hardening update to make GitHub Actions workflow dependencies immutable by replacing version tags with pinned commit SHAs.

Changes:

  • Pinned all uses: references in CI workflow jobs to specific commit SHAs (checkout, setup-python, artifacts, Sigstore, release).
  • Pinned the fedora-infra/label-when-in-branch action to a specific commit SHA in the deployment labeling workflow.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/ci.yml Pins all third-party actions to commit SHAs for reproducible CI/release runs.
.github/workflows/label-when-deployed.yml Pins the labeling action to a commit SHA for immutable deployments labeling.

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

Comment thread .github/workflows/ci.yml
Comment on lines 39 to 41
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Install dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants