Skip to content

Commit b0a0fe5

Browse files
authored
chore(ci): narrow down stale issue filtering (aws-powertools#1346)
* chore: fix issue filtering * docs: updated maintainer guidance * docs: updated label meaning
1 parent c99714f commit b0a0fe5

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/stale-issues.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
close-issue-reason: not_planned
2424
# Exempt any issue that hasn't been triaged yet, or that is clearly labeled
2525
exempt-issue-labels: triage,status/confirmed,status/blocked,status/on-hold,status/completed
26-
# Include only issues where any of these labels are present (aka only issues that need more info from the customer)
27-
# that are either under discussion, but no info/answer has been provided in 2 weeks, or that were already marked
28-
# as stale
29-
any-of-issue-labels: need-more-information,status/discussing,status/pending-close-response-required
26+
# Include only issues that were labeled as `need-more-information` (aka only issues that need more info from the customer)
27+
only-issue-labels: need-more-information
3028
# Settings specific to issues
3129
days-before-issue-stale: 14
3230
days-before-issue-close: 7
3331
# Set to ignore PRs
3432
days-before-pr-stale: -1
35-
days-before-pr-close: -1
33+
days-before-pr-close: -1
34+
# Operations
35+
operations-per-run: 60

MAINTAINERS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ These are the most common labels used by maintainers to triage issues, pull requ
102102
| good-first-issue | Something that is suitable for those who want to start contributing | |
103103
| help-wanted | Tasks you want help from anyone to move forward | Bandwidth, complex topics, etc. |
104104
| need-customer-feedback | Tasks that need more feedback before proceeding | 80/20% rule, uncertain, etc. |
105-
| need-more-information | Missing information before making any calls | |
105+
| need-more-information | Missing information before making any calls | Triggers stale automation after 2 weeks |
106106
| need-issue | PR is missing a related issue for tracking change | |
107107

108108
## Maintainer Responsibilities
@@ -268,7 +268,7 @@ In other cases, you may have constrained capacity. Use `help=wanted` label when
268268

269269
When in doubt, use `need-more-information` or `need-customer-feedback` labels to signal more context and feedback are necessary before proceeding. You can also use `status/on-hold` label when you expect it might take a while to gather enough information before you can decide.
270270

271-
Note that issues marked as `need-more-information` and `status/discussing` will be automatically closed after 3 weeks of inactivity.
271+
Note that issues marked as `need-more-information` will be automatically closed after 3 weeks of inactivity.
272272

273273
### Crediting contributions
274274

@@ -298,4 +298,4 @@ In the rare cases where both parties don't have the bandwidth or expertise to co
298298

299299
## Automation
300300

301-
🚧 WIP 🚧
301+
🚧 WIP 🚧

0 commit comments

Comments
 (0)