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 bugIssueLifecycleManagement.yml #4832

Closed
wants to merge 4 commits into from
Closed
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
47 changes: 45 additions & 2 deletions .github/policies/bugIssueLifecycleManagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
configuration:
resourceManagementConfiguration:
scheduledSearches:
- description: Stale any open bugs that have 30 days inactivity - runs every 6 hours

Check failure on line 11 in .github/policies/bugIssueLifecycleManagement.yml

View check run for this annotation

Microsoft GitHub Policy Service / GitOps/YmlValidation

.github/policies/bugIssueLifecycleManagement.yml#L11

Exception during deserialization. Unknown condition specified.
frequencies:
- hourly:
hour: 6
Expand All @@ -17,15 +17,38 @@
- isOpen
- noActivitySince:
days: 30
- or:
- isNotLabeledWith:
label: stale
- isNotLabeledWith:
label: Under Investigation
- hasLabel:
label: bug
actions:
- addLabel:
label: stale
- addReply:
reply: This issue has been automatically marked as stale because it has not had any activity for **30 days**. It will be closed if no further activity occurs **within 7 days of this comment**. ${assignees}
- description: Stale any issues with "Needs Author Feedback" label after 7 days of no activity from author.
frequencies:
- hourly:
hour: 6
filters:
- isIssue
- isOpen
- noActivitySince:
days: 7
- isNotLabeledWith:
label: stale
- hasLabel:
label: bug
- hasLabel:
label: Needs Author Feedback
actions:
- addLabel:
label: stale
- addReply:
reply: This issue has been automatically marked as stale because it has not had any activity for **30 days**. It will be closed if no further activity occurs **within 7 days of this comment**. ${assignees}
reply: This issue has been automatically marked as stale because it has not had any activity from the author for **7 days**. It will be closed if no further activity occurs **within 7 days of this comment**. ${issueAuthor}
eventResponderTasks:
- description: When an issue is labeled with 'SR-Support Request', add a reply with instructions on how to create a support ticket.
if:
Expand Down Expand Up @@ -62,5 +85,25 @@
label: resolution/fix-released
- addLabel:
label: resolution/shipped
- description: When a bug fix is in progress, notify the customer with a message.
if:
- payloadType: Issues
- labelAdded:
label: Fix in Progress
- isOpen
then:
- addReply:
reply: >-
Hi there :wave: AKS bot here. Thank you for reporting this bug to the AKS team. This issue has been tagged as the bug fix is currently in progress. When the fix is complete, we will update you with the investigation and fix details.
- description: When a bug is being investigated, notify the customer with a message.
if:
- payloadType: Issues
- labelAdded:
label: Under Investigation
- isOpen
then:
- addReply:
reply: >-
Hi there :wave: AKS bot here. This issue has been tagged as being investigated by the AKS team. Please check back shortly to see if any additional information or actions are needed from you. Thank you!
onFailure:
onSuccess:
onSuccess: