chore: dev to main merge - #39
Merged
Merged
Conversation
fix: Updated azure.yaml file to exclude the 1.23.9 azd version
chore: downmerge from main to dev (Enhance CI/CD workflows, documentation, and Fabric sensitivity label support)
… and enhance Get-BicepParameterConfig for newer Bicep CLI output
…CLI, environment variable, and Bicep parameters
…OSTPROVISION_TAGS
…template validation and Azure Dev deploy workflows
…nd Azure Dev deploy workflows
…template validation and Azure Dev deploy workflows
… and enhance tag filtering logic
…ate validation workflow
…template validation workflow
fix: Enhance AZD workflows and tag handling in deployment scripts
chore: Improve Azure deployment scripts and update deployment guides
…s for AZD template validation and Azure Dev deploy
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
fix: add bicep version requirement (>= 0.33.0) to azure.yaml
fix: Filter the paths to run the pipeline
ci: Update workflow triggers for branch validation and typo fix Checked for pipeline validation.
Saswato-Microsoft
requested review from
Avijit-Microsoft,
Prajwal-Microsoft,
Roopan-Microsoft,
Mike Swantek (mswantek68),
nchandhi and
Todd Herman (toherman-msft)
as code owners
April 13, 2026 07:19
Saswato-Microsoft
requested review from
Vinay Sharma (Vinay-Microsoft) and
Anish Arora (aniaroramsft)
as code owners
April 13, 2026 07:19
Contributor
There was a problem hiding this comment.
Pull request overview
This PR refactors CI/CD automation for the Azure Developer CLI (azd) template by splitting template validation into a dedicated workflow, tightening workflow triggers, improving post-provision tag resolution, and enforcing minimum tool versions via azure.yaml.
Changes:
- Added a dedicated AZD template validation workflow and refocused the existing workflow to deployment-only.
- Updated post-provision hook logic to use a deterministic tag priority chain and improved parsing of newer Bicep CLI
build-paramsoutput. - Added
requiredVersionsinazure.yamland constrained the OIDC automation workflow to run only on relevant path changes.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
hooks/postprovision.ps1 |
Improves tag selection precedence and updates Bicep parameter parsing to handle newer CLI output shapes. |
azure.yaml |
Enforces minimum azd/bicep versions (and excludes a known-bad azd version). |
.github/workflows/daga-automation-oidc.yml |
Limits push-triggered runs to infra/script/spec changes to reduce unnecessary executions. |
.github/workflows/azure-dev.yml |
Refactors workflow to run azd-based provisioning/deploy on main pushes and manual dispatch. |
.github/workflows/azd-template-validation.yml |
Introduces a separate validation workflow (push/schedule/manual) using template-validation action. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Roopan-Microsoft
approved these changes
Apr 14, 2026
|
🎉 This PR is included in version 1.0.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
Purpose
This pull request introduces several workflow and script improvements to enhance Azure deployment automation, template validation, and version compatibility. The main changes include splitting template validation into a dedicated workflow, refining the deployment workflow, improving tag handling logic in provisioning scripts, and enforcing required tool versions.
Workflow and automation improvements:
.github/workflows/azd-template-validation.ymlworkflow to validate Azure Developer (AZD) templates on pushes tomain, on schedule, and on manual dispatch. This separates template validation from deployment and improves CI clarity..github/workflows/azure-dev.ymlto focus solely on deployment, removing template validation steps and updating environment setup, Azure login, and deployment logic for better reliability and maintainability..github/workflows/daga-automation-oidc.ymlto trigger only when changes are made to relevant infrastructure and script files, reducing unnecessary workflow runs.Provisioning and tagging logic improvements:
hooks/postprovision.ps1by removing theAdd-TagSourcefunction and replacing it with a clear priority chain: CLI-Tags>DAGA_POSTPROVISION_TAGSenvironment variable > BicepdagaTagsparameter > fallback. This ensures consistent and predictable tag application. [1] [2]hooks/postprovision.ps1to support newer Bicep CLI output formats, improving compatibility with recent tool versions.Version enforcement:
requiredVersionssection toazure.yamlto enforce minimum versions ofazdandbicep, and to explicitly exclude a problematicazdversion, preventing deployment failures due to incompatible tooling.Does this introduce a breaking change?
How to Test
What to Check
Verify that the following are valid
Other Information