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

Improve the bot in terms of labeling stale issue and closing issue etc. #4514

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
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
35 changes: 35 additions & 0 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ configuration:
label: feature-request
- isNotLabeledWith:
label: bug
- isNotLabeledWith:
label: enhancement
- isNotLabeledWith:
label: announcement
actions:
- addLabel:
label: stale
Expand Down Expand Up @@ -248,6 +252,10 @@ configuration:
days: 7
- isNotLabeledWith:
label: feature-request
- isNotLabeledWith:
label: enhancement
- isNotLabeledWith:
label: announcement
- isNotLabeledWith:
label: stale
actions:
Expand Down Expand Up @@ -283,6 +291,33 @@ configuration:
- addReply:
reply: Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or open a support ticket.
- closeIssue
- description: close the issue with code merged label without activities in 21 days.
frequencies:
- hourly:
hour: 6
filters:
- isOpen
- hasLabel:
label: resolution/code-merged
- noActivitySince:
days: 21
actions:
- addReply:
reply: Thanks for reaching out. I'm closing this issue as it was marked with "code merged" and it hasn't had activity for 21 days.
- closeIssue
- description: label issues with SLA warning if issues are not closed after 7 days.
frequencies:
- hourly:
hour: 6
filters:
- isOpen
- created:
before: 7
- hasLabel:
label: bug
actions:
- addLabel:
label: SLA
eventResponderTasks:
- if:
- payloadType: Issue_Comment
Expand Down
Loading