Skip to content

Commit

Permalink
Add merge requested automation to gitops policy (#26630)
Browse files Browse the repository at this point in the history
  • Loading branch information
weshaggard authored Nov 8, 2023
1 parent 5d41233 commit 6e14940
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2539,6 +2539,16 @@ configuration:
then:
- addLabel:
label: TypeSpec
- if:
- payloadType: Issue_Comment
then:
- if:
- commentContains:
pattern: "$/pr RequestMerge^"
isRegex: true
then:
- addLabel:
label: MergeRequested
- if:
- payloadType: Pull_Request
then:
Expand Down

0 comments on commit 6e14940

Please sign in to comment.