Skip to content

ci: Pin GitHub Actions to commit SHAs - #26

Merged
khvn26 merged 1 commit into
mainfrom
kimgustyr/eng-1190-ci-pin-github-actions-to-commit-shas-fba2
Dec 2, 2026
Merged

khvn26 merged 1 commit into
mainfrom
kimgustyr/eng-1190-ci-pin-github-actions-to-commit-shas-fba2

Conversation

@khvn26

@khvn26 khvn26 commented Dec 2, 2026

Copy link
Copy Markdown
Member

Pins every uses: reference in the workflows and composite actions to a full commit SHA, with the version tag as a trailing comment. This is in preparation for the org-wide "Require actions to be pinned to a full-length commit SHA" setting.

Action Pinned to
actions/checkout v6.1.0 (what v6 currently points to)
astral-sh/setup-uv v7.6.0 (what v7 currently points to)
codecov/codecov-action v5.5.5 (what v5 currently points to)
Flagsmith/ci/.github/actions/* v1.0.0

renovate.json already extends the shared Flagsmith/renovate-config preset. Once Flagsmith/renovate-config#4 adds helpers:pinGitHubActionDigests to that preset, Renovate will keep these digests up to date. No change is needed here for that.

The README.md usage examples still show tag references such as @v1.0.0. I've left them as they are because they are guidance for consumers, not workflows that run in this repo.

Generated with [Linear](https://linear.app/flagsmith/agent-session/db585fc6-3941-4317-9919-58ff313b3cdd)

Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@96c68d8). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff            @@
##             main       #26   +/-   ##
========================================
  Coverage        ?   100.00%           
========================================
  Files           ?         4           
  Lines           ?       112           
  Branches        ?         0           
========================================
  Hits            ?       112           
  Misses          ?         0           
  Partials        ?         0           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@khvn26
khvn26 marked this pull request as ready for review December 2, 2026 20:11
@khvn26
khvn26 requested a review from a team as a code owner December 2, 2026 20:11
@khvn26
khvn26 requested review from emyller and removed request for a team December 2, 2026 20:11

@cubic-dev-ai cubic-dev-ai Bot 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.

No issues found across 5 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Auto-approved: Pins all GitHub Actions and composite action uses in CI workflows to commit SHAs with version comments, hardening supply-chain security in preparation for org-wide pinning requirements. The change is bounded to CI configuration and preserves the intended action versions.

Turn on auto-fix | Re-trigger cubic

@khvn26
khvn26 merged commit 3287997 into main Dec 2, 2026
3 checks passed
@khvn26
khvn26 deleted the kimgustyr/eng-1190-ci-pin-github-actions-to-commit-shas-fba2 branch December 2, 2026 20:18
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