Skip to content

Commit

Permalink
Merge branch 'main' into enpolat/getsecret-helper-in-bicepparam-files
Browse files Browse the repository at this point in the history
  • Loading branch information
polatengin authored Jul 28, 2023
2 parents bca3a9a + 2499ee5 commit 136c0c2
Show file tree
Hide file tree
Showing 364 changed files with 188,686 additions and 176,132 deletions.
324 changes: 0 additions & 324 deletions .github/fabricbot.json

This file was deleted.

27 changes: 27 additions & 0 deletions .github/policies/automergeTriggers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
id: automergeTriggers
name: GitOps.PullRequestIssueManagement
description: Handles enabling / disabling automerge
owner:
resource: repository
disabled: false
where:
configuration:
resourceManagementConfiguration:
eventResponderTasks:
- description: Enable Auto Merge when the "auto-merge" label is present
if:
- payloadType: Pull_Request
- hasLabel:
label: auto-merge
then:
- enableAutoMerge:
mergeMethod: Squash
- description: Disable Auto Merge when the "auto-merge" label is not present
if:
- payloadType: Pull_Request
- labelRemoved:
label: auto-merge
then:
- disableAutoMerge
onFailure:
onSuccess:
26 changes: 26 additions & 0 deletions .github/policies/labelAdded.dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
id: labelAdded.dependabot
name: GitOps.PullRequestIssueManagement
description: Handles when "dependencies" label is added by dependabot
owner:
resource: repository
disabled: false
where:
configuration:
resourceManagementConfiguration:
eventResponderTasks:
- description: Approve PRs submitted by dependabot with the "dependencies" label
if:
- payloadType: Pull_Request
- hasLabel:
label: dependencies
- not:
hasLabel:
label: auto-merge
- isActivitySender:
user: dependabot[bot]
issueAuthor: False
then:
- approvePullRequest:
comment: ':shipit:'
onFailure:
onSuccess:
Loading

0 comments on commit 136c0c2

Please sign in to comment.