winget-cli

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

labelManagement.needsFeedbackHub.yml (1938B)


      1 id: labelManagement.needsFeedbackHub
      2 name: GitOps.PullRequestIssueManagement
      3 description: Handlers when feedback hub is needed
      4 owner:
      5 resource: repository
      6 disabled: false
      7 where:
      8 configuration:
      9   resourceManagementConfiguration:
     10     eventResponderTasks:
     11       - description: >-
     12           When the label "Needs-Feedback-Hub" is added to an issue or a repo admin comments /feedback
     13           * Add a reply notifying the issue author
     14           * Assign to the author
     15           * Label with Needs-Author-Feedback
     16           * Remove Needs-Feedback-Hub label
     17         if:
     18           - or:
     19               # Trigger by label add
     20               - and:
     21                   - payloadType: Issues
     22                   - labelAdded:
     23                       label: Needs-Feedback-Hub
     24               # Trigger by comment
     25               - and:
     26                   - payloadType: Issue_Comment
     27                   - commentContains:
     28                       pattern: '\/feedback'
     29                       isRegex: True
     30                   - or:
     31                       - activitySenderHasPermission:
     32                           permission: Admin
     33                       - activitySenderHasPermission:
     34                           permission: Write
     35         then:
     36           - addReply:
     37               reply: >-
     38                 Hello @${issueAuthor},
     39 
     40 
     41                 Please send us feedback with the Feedback Hub [Windows]+[f] with this issue and paste the link here so we can more easily find your crash information on the back end.
     42 
     43                 Please use "Apps" and "Windows Package Manager" for the Category.
     44 
     45 
     46                 The link on the bottom of the feedback report will provide the URL to paste in this Issue to share with us.
     47 
     48 
     49                 Template: msftbot/feedbackHub
     50           - assignTo:
     51               author: True
     52           - addLabel:
     53               label: Needs-Author-Feedback
     54           - removeLabel:
     55               label: Needs-Feedback-Hub
     56 onFailure:
     57 onSuccess: