Remove CLA label if author agrees on that PR (#366337)

This commit is contained in:
Kaleb Luedtke authored and GitHub committed 2026-04-28 17:27:45 -07:00
1 parent 5d48fe7bd8
commit 8fc89a6db4
1 file changed
+18
@@ -196,6 +196,24 @@ configuration:
label: Needs-Author-Feedback
- addLabel:
label: Needs-Attention # This will automatically assign the ICM Users
- description: >-
If an author agrees to the CLA on a Pull Request
* Remove the Needs-CLA Label
if:
- or:
- payloadType: Pull_Request_Review
- payloadType: Pull_Request_Review_Comment
- payloadType: Issue_Comment
- isActivitySender:
issueAuthor: True
- hasLabel:
label: Needs-CLA
- commentContains:
pattern: '@microsoft-github-policy-service agree'
isRegex: False
then:
- removeLabel:
label: Needs-CLA
- description: >-
When changes are requested on a pull request
* Disable automerge