feat: Add weekly schedule for Azure Template validation,split azure-dev to azure-dev,azd-template for content gen#794
Open
Tejasri-Microsoft wants to merge 2 commits intodevfrom
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR restructures GitHub Actions by separating AZD template validation into its own scheduled workflow and refocusing the existing azure-dev workflow on deployment via azd.
Changes:
- Added a new scheduled/manual workflow for template validation using
microsoft/template-validation-action. - Refactored
azure-dev.ymlinto anazd-based deployment workflow using OIDC (azure/login) andAzure/setup-azd. - Moved configuration to GitHub secrets/vars and streamlined deploy steps (
azd env select/new+azd up).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| .github/workflows/azure-dev.yml | Converts workflow into an azd deployment job using OIDC login and automated env selection/creation. |
| .github/workflows/azd-template-validation.yml | Introduces scheduled/manual template validation workflow using the template validation action and Azure-related env inputs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
This pull request restructures and improves the GitHub Actions workflows for Azure template validation and deployment. The main changes separate template validation and deployment into distinct workflows, modernize deployment steps, and enhance security and maintainability.
Workflow Restructuring and Separation:
.github/workflows/azd-template-validation.ymldedicated to scheduled and manual Azure template validation using themicrosoft/template-validation-action, with relevant secrets and variables for secure authentication..github/workflows/azure-dev.ymlto focus solely on deployment, renaming it to "Azure Dev Deploy" and removing template validation steps.Deployment Process Improvements:
Azure/setup-azdandazure/loginactions for more robust and secure authentication with Azure, replacing manual CLI login steps.azd upfor provisioning and deployment, streamlining the process and improving error handling.Security and Configuration:
Does this introduce a breaking change?
Golden Path Validation
Deployment Validation
What to Check
Verify that the following are valid
Other Information