winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

labelManagement.issueClosed.yml (1058B)


      1 id: labelManagement.issueClosed
      2 name: GitOps.PullRequestIssueManagement
      3 description: Handlers when an issue gets closed
      4 owner:
      5 resource: repository
      6 disabled: false
      7 where:
      8 configuration:
      9   resourceManagementConfiguration:
     10     eventResponderTasks:
     11       - description: Remove labels when an issue is closed
     12         if:
     13           - payloadType: Issues
     14           - isAction:
     15               action: Closed
     16         then:
     17           - removeLabel:
     18               label: Needs-Triage
     19           - removeLabel:
     20               label: Needs-Attention
     21           - removeLabel:
     22               label: Needs-Author-Feedback
     23           - removeLabel:
     24               label: Help-Wanted
     25         ## TODO: Unassign author
     26       - description: Remove labels when a pull request is closed
     27         if:
     28           - payloadType: Pull_Request
     29           - isAction:
     30               action: Closed
     31         then:
     32           - removeLabel:
     33               label: Needs-Attention
     34           - removeLabel:
     35               label: Needs-Author-Feedback
     36         ## TODO: Unassign Users
     37 onFailure:
     38 onSuccess: