winget-cli

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

scheduledSearch.markNoRecentActivity.yml (2049B)


      1 id: scheduledSearch.closeNoRecentActivity
      2 name: GitOps.PullRequestIssueManagement
      3 description: Markss issues that are inactive
      4 owner:
      5 resource: repository
      6 disabled: false
      7 where:
      8 configuration:
      9   resourceManagementConfiguration:
     10     scheduledSearches:
     11       - description: >-
     12           Search for PR where -
     13           * Pull Request is Open
     14           * Pull request does not have the label No-Recent-Activity
     15           * Pull request does not have the label Blocking-Issue
     16           * Pull request has the label Needs-Author-Feedback
     17           * Has not had activity in the last 7 days
     18 
     19           Then -
     20           * Add No-Recent-Activity label
     21         frequencies:
     22           - hourly:
     23               hour: 6
     24         filters:
     25           - isPullRequest
     26           - isOpen
     27           - isNotLabeledWith:
     28               label: No-Recent-Activity
     29           - isNotLabeledWith:
     30               label: Blocking-Issue
     31           - hasLabel:
     32               label: Needs-Author-Feedback
     33           - noActivitySince:
     34               days: 7
     35         actions:
     36           - addLabel:
     37               label: No-Recent-Activity
     38       - description: >-
     39           Search for Issues where -
     40           * Issue is Open
     41           * Issue has the label Needs-Author-Feedback
     42           * Issue does not have the label No-Recent-Activity
     43           * Issue does not have the label Blocking-Issue
     44           * Issue does not have the label Issue-Feature
     45           * Has not had activity in the last 7 days
     46 
     47           Then -
     48           * Close the Issue
     49         frequencies:
     50           - hourly:
     51               hour: 6
     52         filters:
     53           - isIssue
     54           - isOpen
     55           - hasLabel:
     56               label: Needs-Author-Feedback
     57           - isNotLabeledWith:
     58               label: No-Recent-Activity
     59           - isNotLabeledWith:
     60               label: Blocking-Issue
     61           - isNotLabeledWith:
     62               label: Issue-Feature
     63           - noActivitySince:
     64               days: 7
     65         actions:
     66           - addLabel:
     67               label: No-Recent-Activity
     68 onFailure:
     69 onSuccess: