This repo keeps Azure Policies set and up to date depending on what is on the main branch.
The policies/ folder contains a sub folder for each policy. Inside each subfolder is a policy.json file describing the policy. The initiatives/ folder contains a sub folder for each policy set. Inside each subfolder is a policy.json file describing the policy set.
The workflow for this repo can keep any or all of the policies up-to-date if properly set to track the changes to each in main.
To utilize this repo, you can fork it, and follow the instructions to configure the credentials: https://github.com/marketplace/actions/azure-login#configure-deployment-credentials