Skip to content

fix: Pin GitHub Actions to commit SHAs - #1144

Merged
Prajwal-Microsoft merged 1 commit into
devfrom
ph-workflows-update
Aug 17, 2026
Merged

fix: Pin GitHub Actions to commit SHAs#1144
Prajwal-Microsoft merged 1 commit into
devfrom
ph-workflows-update

Conversation

@PrekshithD-Microsoft

@PrekshithD-Microsoft PrekshithD-Microsoft commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

This pull request updates the GitHub Actions workflow files to pin all third-party action dependencies to specific commit SHAs, rather than relying on version tags. This enhances the security and reliability of the CI/CD pipelines by ensuring that workflows always use the exact same version of each action, preventing unexpected changes from upstream updates.

The most important changes are:

Security and Reliability Improvements:

Workflow Consistency:

  • Ensured consistent pinning across all workflow files, including those for Docker builds, deployment, code quality checks, and template validation, which improves maintainability and auditability of the CI/CD process. [1] [2] [3] [4] [5] [6]

Tooling and Dependency Management:

  • Updated actions for Docker, Azure, and Python setup to use SHA-pinned versions, ensuring that builds and deployments use the intended versions of these tools. [1] [2] [3] [4] [5]

These changes collectively harden the CI/CD pipeline against supply chain vulnerabilities and make it easier to track and audit the exact versions of all automation dependencies.## Purpose

  • ...

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

@github-actions

Copy link
Copy Markdown

Coverage

Coverage Report •
FileStmtsMissCoverMissing
TOTAL383255285% 
report-only-changed-files is enabled. No files were changed during this commit :)

Tests Skipped Failures Errors Time
835 0 💤 0 ❌ 0 🔥 11.272s ⏱️

@Prajwal-Microsoft
Prajwal-Microsoft merged commit 2072050 into dev Aug 17, 2026
21 of 27 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.

2 participants