Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding workflow to check for policy build #392

Merged
merged 8 commits into from
Oct 30, 2024

Conversation

arjenhuitema
Copy link
Contributor

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

  • Read the Contribution Guide and ensured this PR is compliant with the guide
  • Checked for duplicate Pull Requests
  • Associated it with relevant GitHub Issues or ADO Work Items (Internal Only)
  • Ensured my code/branch is up-to-date with the latest changes in the main branch
  • Ensured PR tests are passing
  • Updated relevant and associated documentation (e.g. Contribution Guide, Docs etc.)

@arjenhuitema arjenhuitema added the Pattern: ALZ 🚁 Issues / PR's related to the ALZ Pattern label Oct 28, 2024
Copy link
Contributor

@Brunoga-MS Brunoga-MS left a comment

Choose a reason for hiding this comment

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

LGTM

@Brunoga-MS Brunoga-MS merged commit f7d15b0 into Azure:main Oct 30, 2024
3 of 4 checks passed
@arjenhuitema arjenhuitema deleted the workflow-check-policy-build branch December 9, 2024 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pattern: ALZ 🚁 Issues / PR's related to the ALZ Pattern
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants