Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update author feedback label #2750

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: