Github Actions pinned with full SHA#4886
Merged
tamirkamara merged 2 commits intomainfrom Mar 23, 2026
Merged
Conversation
Unit Test Results0 tests 0 ✅ 0s ⏱️ Results for commit ffb9181. ♻️ This comment has been updated with latest results. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR hardens the repository’s CI/CD supply chain by pinning GitHub Actions uses: references to immutable commit SHAs and updating several actions to newer releases across workflows (and one composite action).
Changes:
- Pin third-party and GitHub-maintained Actions in workflows to full commit SHAs (instead of version tags).
- Update multiple Actions to newer major/minor releases while pinning.
- Add an Unreleased changelog entry describing the change.
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| CHANGELOG.md | Adds an Unreleased entry describing the workflow action pinning/update. |
| .github/workflows/test_results.yml | Pins publish/check Actions to full SHAs. |
| .github/workflows/pr_comment_bot.yml | Pins checkout/github-script/azure-login/checks-action to full SHAs. |
| .github/workflows/lets_encrypt.yml | Pins checkout/setup-terraform/azure-login to full SHAs. |
| .github/workflows/flag_external_pr.yml | Pins checkout/github-script to full SHAs. |
| .github/workflows/deploy_tre_reusable.yml | Pins multiple Actions (checkout/buildx/login/artifact/etc.) to full SHAs. |
| .github/workflows/codeql-analysis.yml | Pins checkout/codeql/init+analyze/setup-java to full SHAs. |
| .github/workflows/cli-package.yml | Pins checkout/upload-artifact to full SHAs. |
| .github/workflows/clean_validation_envs.yml | Pins checkout/azure-login to full SHAs. |
| .github/workflows/build_validation_develop.yml | Pins checkout/paths-filter/setup-terraform/super-linter to full SHAs. |
| .github/workflows/build_docs.yml | Pins checkout/setup-python to full SHAs. |
| .github/workflows/build_docker_images.yml | Pins multiple Actions (artifact/checkout/filter/setup/buildx/build-push/etc.) to full SHAs. |
| .github/actions/devcontainer_run_command/action.yml | Pins azure/login used by the composite action to a full SHA. |
Collaborator
Author
|
/test-force-approve |
|
🤖 pr-bot 🤖 ✅ Marking tests as complete (for commit ffb9181) (in response to this comment from @tamirkamara) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is being addressed
Github actions steps are currently using version tags which is less secured.
How is this addressed