Azure / azure-monitor-baseline-alerts

Azure Monitor Baseline Alerts
MIT License
167 stars 243 forks source link

Adding workflow to check for policy build #392

Closed arjenhuitema closed 3 weeks ago

arjenhuitema commented 3 weeks ago

Overview/Summary

Add a workflow to review PRs for policy updates and verify if the Bicep build has been run.

This PR fixes/adds/changes/removes

  1. Adds .github\actions-pester\PolicyPesterTestHelper.psm1
  2. Adds .github\actions-pester\Test-BuildPolicies.Tests.ps1
  3. Adds .github\workflows\check-policy-build.yml
  4. Updates ALZ policies with latest Bicep version

Breaking Changes

None

Test results

When bicep build has not been executed: image

When bicep build was executed: image

As part of this Pull Request I have