From ca04940b509e576b88430436cdbfce8ae2768b61 Mon Sep 17 00:00:00 2001 From: Faith Kangai Date: Tue, 21 May 2024 17:30:24 +0300 Subject: [PATCH] update author feedback label --- .github/policies/resourceManagement.yml | 32 ++++++++++++------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/policies/resourceManagement.yml b/.github/policies/resourceManagement.yml index 8fbc37ed371..02d97b9c019 100644 --- a/.github/policies/resourceManagement.yml +++ b/.github/policies/resourceManagement.yml @@ -1,14 +1,14 @@ -id: +id: name: GitOps.PullRequestIssueManagement description: GitOps.PullRequestIssueManagement primitive -owner: +owner: resource: repository disabled: false -where: +where: configuration: resourceManagementConfiguration: scheduledSearches: - - description: + - description: frequencies: - hourly: hour: 6 @@ -16,14 +16,14 @@ configuration: - isIssue - isOpen - hasLabel: - label: 'Needs: author feedback' + label: 'status:waiting-for-author-feedback' - hasLabel: label: 'Status: no recent activity' - noActivitySince: days: 3 actions: - closeIssue - - description: + - description: frequencies: - hourly: hour: 6 @@ -31,7 +31,7 @@ configuration: - isIssue - isOpen - hasLabel: - label: 'Needs: author feedback' + label: 'status:waiting-for-author-feedback' - noActivitySince: days: 4 - isNotLabeledWith: @@ -41,7 +41,7 @@ configuration: label: 'Status: no recent activity' - addReply: reply: This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**. - - description: + - description: frequencies: - hourly: hour: 6 @@ -64,14 +64,14 @@ configuration: - isActivitySender: issueAuthor: True - hasLabel: - label: 'Needs: author feedback' + label: 'status:waiting-for-author-feedback' - isOpen then: - addLabel: label: 'Needs: attention :wave:' - removeLabel: - label: 'Needs: author feedback' - description: + label: 'status:waiting-for-author-feedback' + description: - if: - payloadType: Issues - not: @@ -82,7 +82,7 @@ configuration: then: - removeLabel: label: 'Status: no recent activity' - description: + description: - if: - payloadType: Issue_Comment - hasLabel: @@ -90,12 +90,12 @@ configuration: then: - removeLabel: label: 'Status: no recent activity' - description: + description: - if: - payloadType: Pull_Request then: - inPrLabel: label: 'Status: In PR' - description: -onFailure: -onSuccess: + description: +onFailure: +onSuccess: