Skip to content

ci: workflow to automate the validation of Bicep parameter files#596

Open
Harsh-Microsoft wants to merge 2 commits intodevfrom
hb-psl-38859
Open

ci: workflow to automate the validation of Bicep parameter files#596
Harsh-Microsoft wants to merge 2 commits intodevfrom
hb-psl-38859

Conversation

@Harsh-Microsoft
Copy link
Copy Markdown
Contributor

Purpose

This pull request introduces a new GitHub Actions workflow to automate validation of Bicep parameters in the repository. The workflow runs on a schedule and on pull requests affecting infrastructure files, and provides automated notifications and artifact uploads based on validation results.

New GitHub Actions workflow for Bicep parameter validation:

  • Added .github/workflows/validate-bicep-params.yml to automate validation of Bicep parameter files (.bicep and .parameters.json) using the Deployment/validate_bicep_params.py script. The workflow runs on a schedule (weekly) and on pull requests targeting relevant files.

Validation and reporting:

  • The workflow captures validation output, summarizes results in the GitHub Actions summary, and uploads validation artifacts (infra_results.json).
  • On scheduled runs, the workflow sends email notifications via Logic Apps if validation fails or succeeds, including detailed output and a link to the workflow run.
  • The workflow enforces failure of the workflow if parameter validation errors are detected.

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

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

Deployment Validation

  • 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

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.

1 participant