Skip to content

Commit 795dcbb

Browse files
authored
fix: Remove unneeded policies (#181)
# Pull Request Remove unneeded policies for resource management. ## Issue N/A ## Description Description of changes: Remove unneeded policies for resource management. ## License By submitting this pull request, I confirm that my contribution is made under the terms of the projects associated license.
1 parent 5fdc730 commit 795dcbb

File tree

1 file changed

+0
-55
lines changed

1 file changed

+0
-55
lines changed

.github/policies/resourceManagement.yml

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -205,61 +205,6 @@ configuration:
205205
then:
206206
- cleanEmailReply
207207
description:
208-
- if:
209-
- payloadType: Pull_Request
210-
- isAction:
211-
action: Opened
212-
- or:
213-
- includesModifiedFiles:
214-
files:
215-
- infra-as-code/bicep/modules/policy/definitions/lib
216-
- includesModifiedFiles:
217-
files:
218-
- infra-as-code/bicep/modules/policy/assignments/lib/policy_assignments
219-
then:
220-
- addReply:
221-
reply: >-
222-
Hey ${issueAuthor}, thanks for creating this PR.
223-
224-
225-
We noticed that this PR is ammending some things related to policies (definitions or assignments) :mag:
226-
227-
228-
Thanks for this however, please keep in mind we replicate all policies from our upstream repo https://github.com/Azure/Enterprise-Scale (via some GitHub Actions) into these Bicep modules.
229-
230-
231-
So it may be that this PR may be closed and we ask you to re-submit the changes to the respective code in our other repo.
232-
233-
234-
However, we will review and advise further anyway but this is just a friendly premptive message and reminder of how policies are used and updated in this repo.
235-
236-
237-
Thanks from your friendly msft-bot.
238-
- addLabel:
239-
label: "Area: Policy"
240-
description:
241-
- if:
242-
- payloadType: Pull_Request
243-
- labelAdded:
244-
label: "Needs: Upstream Policy Changes :arrows_clockwise:"
245-
then:
246-
- addReply:
247-
reply: >-
248-
Hey ${issueAuthor}, thanks for creating this PR.
249-
250-
251-
We noticed that this PR is ammending some things related to policies (definitions or assignments) :mag:
252-
253-
254-
Thanks for this however, please keep in mind we replicate all policies from our upstream repo https://github.com/Azure/Enterprise-Scale (via some GitHub Actions) into these Bicep modules.
255-
256-
257-
We have determined, upon our review, that the changes here are required to be made to the upstream policies in the repo: https://github.com/Azure/Enterprise-Scale
258-
259-
260-
Thanks from the team and our friendly msft-bot.
261-
- closeIssue
262-
description:
263208
- if:
264209
- payloadType: Pull_Request
265210
- hasLabel:

0 commit comments

Comments
 (0)