Skip to content

Pin workflow action references to immutable commit SHAs - #237

Merged
sei-vsarvepalli merged 2 commits into
mainfrom
copilot/update-github-actions-workflows
Aug 27, 2026
Merged

Pin workflow action references to immutable commit SHAs#237
sei-vsarvepalli merged 2 commits into
mainfrom
copilot/update-github-actions-workflows

Conversation

Copilot AI commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

This PR hardens GitHub Actions supply-chain posture by replacing mutable action tags with full 40-character commit SHAs in the two targeted workflows, without changing workflow logic.

  • Scope

    • Updated:
      • .github/workflows/codeql-analysis.yml
      • .github/workflows/pr-tests.yml
  • Action pinning updates

    • actions/checkout pinned in both workflows (v3/v4 → commit SHA)
    • github/codeql-action/{init,autobuild,analyze} pinned (v3 → commit SHA)
    • actions/setup-python pinned (v5 → commit SHA)
    • Added inline tag comments (e.g., # v3) to preserve human-friendly version context.
  • Behavioral impact

    • No job/step semantics changed; only uses: references were made immutable.
# before
- uses: actions/checkout@v4

# after
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4

Co-authored-by: sei-vsarvepalli <19911912+sei-vsarvepalli@users.noreply.github.com>
Copilot AI changed the title [WIP] Update GitHub Actions workflows to pin action references Pin workflow action references to immutable commit SHAs Aug 27, 2026
Copilot AI requested a review from sei-vsarvepalli August 27, 2026 15:30
@sei-vsarvepalli
sei-vsarvepalli marked this pull request as ready for review August 27, 2026 16:45
@sei-vsarvepalli
sei-vsarvepalli merged commit 0323ddc into main Aug 27, 2026
4 checks passed
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