Skip to content

Commit 78fd9c8

Browse files
Create prMgmt.dependabot.yml
1 parent 480d710 commit 78fd9c8

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
id: prMgmt.dependabot
2+
name: GitOps.PullRequestIssueManagement
3+
description: Approves and merges Dependabot PRs
4+
owner:
5+
resource: repository
6+
disabled: false
7+
where:
8+
configuration:
9+
resourceManagementConfiguration:
10+
eventResponderTasks:
11+
- description: Approve PRs submitted by dependabot with the "dependencies" label
12+
if:
13+
- payloadType: Pull_Request
14+
- hasLabel:
15+
label: dependencies
16+
- not:
17+
hasLabel:
18+
label: auto-merge
19+
- isActivitySender:
20+
user: dependabot[bot]
21+
issueAuthor: False
22+
then:
23+
- approvePullRequest:
24+
comment: ":shipit:"
25+
- addLabel:
26+
label: auto-merge
27+
- enableAutoMerge:
28+
mergeMethod: Squash
29+
onFailure:
30+
onSuccess:

0 commit comments

Comments
 (0)