Team Ai
Datasetpublic

MegaBites-AI/Windows-powershell

sourceHugging Facemitupdated 6mo agoView on Hugging Face
0likes372downloads
IssueManagement.ResolveStale.yml110 linesDownload Raw Back to policies
1id: IssueManagement.ResolveStale2name: GitOps.PullRequestIssueManagement3description: Other issue management rules for closing stale and waiting on author requests4owner:5resource: repository6disabled: false7where:8configuration:9  resourceManagementConfiguration:10    scheduledSearches:11    - description: Close if marked as Waiting on Author and no activity in 7 days12      frequencies:13      - hourly:14          hour: 1215      filters:16      - isOpen17      - isIssue18      - hasLabel:19          label: Waiting on Author20      - noActivitySince:21          days: 722      actions:23      - addReply:24          reply: This issue has been marked as "Waiting on Author" and has not had any activity for **7 day**. It has been closed for housekeeping purposes.25      - closeIssue26    27    - description: Label as Resolution-No Activity if not labeled with KeepOpen and no activity in 6 months28      frequencies:29      - hourly:30          hour: 2431      filters:32      - isIssue33      - isOpen34      - isNotLabeledWith:35          label: KeepOpen36      - isNotLabeledWith:37          label: In-PR38      - isNotLabeledWith:39          label: Needs-Triage40      - isNotLabeledWith:41          label: Resolution-No Activity42      - isNotLabeledWith:43          label: Issue-Meta44      - isNotLabeledWith:45          label: Review - Needed46      - isNotLabeledWith:47          label: Review - Committee48      - isNotLabeledWith:49          label: Review - Maintainer50      - isNotLabeledWith:51          label: WG-NeedsReview52     # Up for grabs labeled issues will get closed after a 6 months of no activity unless KeepOpen label is included53      - noActivitySince:54          days: 18055      actions:56      - addLabel:57          label: Resolution-No Activity58      - addReply:59          reply: "This issue has not had any activity in 6 months, if there is no further activity in 7 days, the issue will be closed automatically.\n\nActivity in this case refers only to comments on the issue. If the issue is closed and you are the author, you can re-open the issue using the button below. Please add more information to be considered during retriage. If you are not the author but the issue is impacting you after it has been closed, please submit a new issue with updated details and a link to this issue and the original."60    eventResponderTasks:61    - description: Remove no resolution label if anyone comments while in 7 day window62      if:63      - payloadType: Issue_Comment64      - hasLabel:65          label: Resolution-No Activity66      - isOpen67      then:68      - removeLabel:69          label: Resolution-No Activity70    71    - description: If new issue comment is author then remove waiting on author72      if:73      - payloadType: Issue_Comment74      - isActivitySender:75          issueAuthor: True76      - hasLabel:77          label: Waiting on Author78      then:79      - removeLabel:80          label: Waiting on Author81    82    - description: Remove Stale label if issue comment 83      if:84      - payloadType: Issue_Comment85      - hasLabel:86          label: Stale87      then:88      - removeLabel:89          label: Stale90    91    - description: Remove Needs-Triage label if issue is closed92      if:93      - payloadType: Issues94      - isAction:95          action: Closed96      then:97      - removeLabel:98          label: Needs-Triage99    100    - description: Remove Keep Open label if closed by someone 101      if:102      - payloadType: Issues103      - isAction:104          action: Closed105      then:106      - removeLabel:107          label: KeepOpen108onFailure:109onSuccess:110