Skip to content

Commit 6e14940

Browse files
authored
Add merge requested automation to gitops policy (#26630)
1 parent 5d41233 commit 6e14940

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/policies/resourceManagement.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2539,6 +2539,16 @@ configuration:
25392539
then:
25402540
- addLabel:
25412541
label: TypeSpec
2542+
- if:
2543+
- payloadType: Issue_Comment
2544+
then:
2545+
- if:
2546+
- commentContains:
2547+
pattern: "$/pr RequestMerge^"
2548+
isRegex: true
2549+
then:
2550+
- addLabel:
2551+
label: MergeRequested
25422552
- if:
25432553
- payloadType: Pull_Request
25442554
then:

0 commit comments

Comments
 (0)