Repository navigation
fix: update and SHA-pin GitHub Actions in generated accelerator workflow templates - #150
Merged
Merged
Conversation
…low templates The generated CI/CD workflow and action templates referenced actions by bare version tags on the deprecated Node 20 generation (checkout@v4, azure/login@v2, azure/powershell@v2, setup-terraform@v3, upload-artifact@v4, download-artifact@v4, github-script@v6), causing Node 20 deprecation warnings. Updated each to the current stable major and pinned to the full commit SHA with a version comment, matching the repo convention. Input compatibility verified for every action. Closes Azure/Azure-Landing-Zones#4287.
Contributor
Author
Shaik Naseeruddin (NaseerDevops-1994)
requested a review
from Qi Zhang (Zhangqi910)
October 8, 2026 10:11
Qi Zhang (Zhangqi910)
requested review from
Akshay Rohilla (akshayrohilla) and
Shiva Sai Yeddlapuri (yeddlapurishivasai)
October 9, 2026 07:35
Akshay Rohilla (akshayrohilla)
approved these changes
Oct 10, 2026
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.


Overview/Summary
Fixes Azure/Azure-Landing-Zones#4287 (Azure/Azure-Landing-Zones#4287).
The accelerator's generated CI/CD workflow and composite-action templates referenced GitHub Actions by bare version tags on the deprecated Node 20 generation, which produces Node 20 deprecation warnings in generated pipelines. This updates each action to the current stable major and pins it to the full commit SHA with a version comment (matching this repo's existing convention).
Scope
Only the generated templates under
alz/github/actions/{terraform,bicep,bicep-classic}/templates/are changed (14 files). Dependabotgithub-actionsand the repo's own workflow pins were already handled by #145, so they are intentionally not touched here.Before -> after (version + SHA pin)
@v4@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1@v2@a641126d1b8aa4d1fa005f4f92df94a3a4c4c906 # v3.1.0@v2@f5b8adcfff1904872c7b98d4012d4914d74b1a82 # v3.0.0@v3@dfe3c3f87815947d99a8997f908cb6525fc44e9e # v4.0.1@v4@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1@v4@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1@v6@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0Testing / verification
@vNtags remain in any template (verified recursively).name/path;github-token/scriptusinggithub.rest.*/context;terraform_wrapper/terraform_version;client-id/tenant-id/subscription-id/enable-AzPSSession;azPSVersion/inlineScript) - no removed or renamed inputs..../.github/actions/*@mainreferences are intentional self-references to the generated repo and are left unchanged.As part of this Pull Request I have
main