Skip to content

feat: Add weekly schedule for Azure Template validation,split azure-dev to azure-dev,azd-template#155

Merged
Prajwal-Microsoft merged 6 commits intodevfrom
cont-psl-validation
Mar 27, 2026
Merged

feat: Add weekly schedule for Azure Template validation,split azure-dev to azure-dev,azd-template#155
Prajwal-Microsoft merged 6 commits intodevfrom
cont-psl-validation

Conversation

@Tejasri-Microsoft
Copy link

@Tejasri-Microsoft Tejasri-Microsoft commented Mar 26, 2026

This pull request restructures the GitHub Actions workflows to separate template validation and deployment processes. The main changes include moving the Azure Developer (AZD) template validation to its own scheduled workflow and updating the deployment workflow to trigger on pushes to the main branch and on manual dispatch. This improves clarity, maintainability, and automation of CI/CD processes.

Workflow separation and improvements:

  • Added a new workflow .github/workflows/azd-template-validation.yml dedicated to AZD template validation, scheduled to run weekly and on manual dispatch. This workflow uses the microsoft/template-validation-action and outputs validation results.
  • Updated .github/workflows/azure-dev.yml to focus solely on deployment, renaming it to "Azure Dev Deploy", and setting it to trigger on pushes to main and manual dispatch. The validation steps were removed from this workflow.

Deployment process enhancements:

  • Enhanced the deployment workflow by adding steps to install the azd CLI, log in to Azure, authenticate with AZD, and run azd up for provisioning and deployment.
  • Updated environment variables and permissions to match the new workflow structure and deployment requirements.## Purpose
  • ...

Does this introduce a breaking change?

  • Yes
  • [ x] No

Golden Path Validation

  • [x ] I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • [x ] I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • ...

Other Information

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Restructures GitHub Actions CI/CD by separating Azure Developer CLI (AZD) template validation into its own scheduled workflow and turning the existing workflow into a deployment-only pipeline targeting main.

Changes:

  • Added a dedicated scheduled/manual workflow for AZD template validation using microsoft/template-validation-action.
  • Updated the existing azure-dev.yml workflow to deploy on push to main (and manual dispatch) using azd up.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/azure-dev.yml Converts workflow from template validation to main-branch deployment using azd + Azure OIDC login.
.github/workflows/azd-template-validation.yml New workflow that runs template validation weekly and on-demand, printing the validation result.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Tejasri-Microsoft Tejasri-Microsoft marked this pull request as draft March 26, 2026 06:39
@Tejasri-Microsoft Tejasri-Microsoft self-assigned this Mar 26, 2026
@Tejasri-Microsoft Tejasri-Microsoft marked this pull request as ready for review March 26, 2026 06:42
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Prajwal-Microsoft Prajwal-Microsoft merged commit 54002b4 into dev Mar 27, 2026
9 of 12 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.

3 participants