Skip to content

Commit

Permalink
update author feedback label (#2750)
Browse files Browse the repository at this point in the history
  • Loading branch information
fey101 authored May 22, 2024
1 parent 59d7e37 commit ae046fe
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
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: 1
filters:
- isIssue
- isOpen
- hasLabel:
label: 'Needs: Author Feedback'
label: 'status:waiting-for-author-feedback'
- hasLabel:
label: no-recent-activity
- noActivitySince:
Expand All @@ -25,15 +25,15 @@ configuration:
label: service bug
actions:
- closeIssue
- description:
- description:
frequencies:
- hourly:
hour: 1
filters:
- isIssue
- isOpen
- hasLabel:
label: 'Needs: Author Feedback'
label: 'status:waiting-for-author-feedback'
- noActivitySince:
days: 4
- isNotLabeledWith:
Expand All @@ -43,7 +43,7 @@ configuration:
label: 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: 1
Expand All @@ -66,13 +66,13 @@ configuration:
- isActivitySender:
issueAuthor: True
- hasLabel:
label: 'Needs: Author Feedback'
label: 'status:waiting-for-author-feedback'
then:
- addLabel:
label: 'Needs: Attention :wave:'
- removeLabel:
label: 'Needs: Author Feedback'
description:
label: 'status:waiting-for-author-feedback'
description:
- if:
- payloadType: Issues
- not:
Expand All @@ -83,13 +83,13 @@ configuration:
then:
- removeLabel:
label: no-recent-activity
description:
description:
- if:
- payloadType: Issues
- labelAdded:
label: service bug
then: []
description:
description:
- if:
- payloadType: Issue_Comment
- activitySenderHasAssociation:
Expand All @@ -102,7 +102,7 @@ configuration:
isRegex: False
then:
- addLabel:
label: 'Needs: Author Feedback'
description:
onFailure:
onSuccess:
label: 'status:waiting-for-author-feedback'
description:
onFailure:
onSuccess:

0 comments on commit ae046fe

Please sign in to comment.