Skip to content

Commit

Permalink
add req files (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-FFFFFF authored Aug 29, 2023
1 parent 6af9958 commit 65fe45d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/policies/avmrequredfiles.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: AVM Mandatory Files Policy
description: This policy will ensure the presence of AVM mandatory files into the repos

resource: repository
where:
# criteria can be provided to limit the repositories the policy is applied to
configuration:
mandatoryFiles:
issueTitle: This repo is missing mandatory files
issueBody: |
There are several mandatory files we require in this
repository. A pull request has been opened to add the
missing files. When the pr is merged this issue will be
closed automatically.
prTitle: Adding AVM mandatory file(s) to this repo
prBody: |
This repository needs the standard workflow files to ensure compliance.
file:
- path: .github/workflows/version-check.yml
prContentLink: https://raw.githubusercontent.com/Azure/terraform-azurerm-avm-template/main/.github/workflows/version-check.yml

0 comments on commit 65fe45d

Please sign in to comment.