From 6c11aca57670ac9e856ab867ba5a4eea9f5b419d Mon Sep 17 00:00:00 2001 From: Faith Kangai Date: Tue, 21 May 2024 17:51:42 +0300 Subject: [PATCH] update author feedback label (#711) --- .github/policies/resourceManagement.yml | 30 ++++++++++++------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/policies/resourceManagement.yml b/.github/policies/resourceManagement.yml index a0d3ac06287..8a8727192ab 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,6 +90,6 @@ configuration: then: - removeLabel: label: Status no recent activity - description: -onFailure: -onSuccess: + description: +onFailure: +onSuccess: