Skip to content

Commit 5b95f06

Browse files
committed
Update stale workflow (nginx#1525)
1 parent e16ad08 commit 5b95f06

File tree

2 files changed

+26
-27
lines changed

2 files changed

+26
-27
lines changed

.github/workflows/stale.yml

+7-9
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,14 @@ jobs:
1616
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
1717
with:
1818
repo-token: ${{ secrets.GITHUB_TOKEN }}
19-
stale-issue-message: "This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 10 days."
20-
stale-pr-message: "This PR is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 10 days."
21-
close-issue-message: "This issue was closed because it has been stalled for 10 days with no activity."
22-
close-pr-message: "This PR was closed because it has been stalled for 10 days with no activity."
19+
stale-issue-message: "This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 14 days."
20+
stale-pr-message: "This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 14 days."
21+
close-issue-message: "This issue was closed because it has been stalled for 14 days with no activity."
22+
close-pr-message: "This PR was closed because it has been stalled for 14 days with no activity."
2323
stale-issue-label: "stale"
2424
stale-pr-label: "stale"
25-
exempt-all-assignees: true
26-
exempt-all-milestones: true
25+
exempt-issue-milestones: true
2726
exempt-issue-labels: "backlog, backlog candidate"
28-
exempt-pr-labels: "backlog, backlog candidate"
2927
operations-per-run: 100
30-
days-before-stale: 90
31-
days-before-close: 10
28+
days-before-stale: 14
29+
days-before-close: 14

ISSUE_LIFECYCLE.md

+19-18
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Issue Lifecycle
22

33
To ensure a balance between work carried out by the NGINX engineering team while encouraging community involvement on
4-
this project, we use the following issue lifecycle. (Note: The issue *creator* refers to the community member that
5-
created the issue. The issue *owner* refers to the NGINX team member that is responsible for managing the issue
4+
this project, we use the following issue lifecycle. (Note: The issue _creator_ refers to the community member that
5+
created the issue. The issue _owner_ refers to the NGINX team member that is responsible for managing the issue
66
lifecycle.)
77

88
1. New issue created by community member.
@@ -15,12 +15,11 @@ lifecycle.)
1515

1616
Possible Issue Types:
1717

18-
- `needs more info`: The owner should use the issue to request information from the creator. If we don't receive the
19-
needed information within 7 days, automation closes the issue.
18+
- `needs more info`: The owner should use the issue to request information from the creator.
2019

2120
- `bug`: The implementation of a feature is not correct.
2221

23-
- `enhancement`: An enhancement, tackling technical debt, documentation changes, or improving existing features.
22+
- `enhancement`: An enhancement, tackling technical debt, documentation changes, or improving existing features.
2423

2524
- `enhancement-proposal`: Enhancements that require an [Enhancement Proposal](/docs/proposals/README.md).
2625

@@ -30,25 +29,27 @@ lifecycle.)
3029
what milestone to attach to an issue. Generally, milestones correspond to product releases - however there are two
3130
special milestones not tied to a specific release:
3231

33-
- Issues assigned to `backlog`: Our team is in favour of implementing the feature request/fixing the issue, however
34-
the implementation is not yet assigned to a concrete release. If and when a `backlog` issue aligns well with our
35-
roadmap, it will be scheduled for a concrete iteration. We review and update our roadmap at least once every
36-
quarter. The `backlog` list helps us shape our roadmap, but it is not the only source of input. Therefore,
37-
some `backlog` items may eventually be closed as `out of scope`, or relabelled as `backlog candidate` once it
38-
becomes clear that they do not align with our evolving roadmap.
32+
- Issues assigned to `backlog`: Our team is in favour of implementing the feature request/fixing the issue, however
33+
the implementation is not yet assigned to a concrete release. If and when a `backlog` issue aligns well with our
34+
roadmap, it will be scheduled for a concrete iteration. We review and update our roadmap at least once every
35+
quarter. The `backlog` list helps us shape our roadmap, but it is not the only source of input. Therefore,
36+
some `backlog` items may eventually be closed as `out of scope`, or relabelled as `backlog candidate` once it
37+
becomes clear that they do not align with our evolving roadmap.
3938

40-
- Issues assigned to `backlog candidate`: Our team does not intend to implement the feature/fix request described in
41-
the issue and wants the community to weigh in before we make our final decision.
39+
- Issues assigned to `backlog candidate`: Our team does not intend to implement the feature/fix request described in
40+
the issue and wants the community to weigh in before we make our final decision.
4241

4342
`backlog` issues can be labeled by the owner as `help wanted` and/or `good first issue` as appropriate.
4443

4544
5. Promotion of `backlog candidate` issue to `backlog` issue: If an issue labelled `backlog candidate` receives more
4645
than 30 upvotes within 60 days, we promote the issue by applying the `backlog` label. While issues promoted in this
4746
manner have not been committed to a particular release, we welcome PRs from the community on them.
4847

49-
If an issue does not make our roadmap and has not been moved to a discussion, it is closed with the
50-
label `out of scope`. The goal is to get every issue in the issues list to one of the following end states:
48+
If an issue has been open for 14 days and does not have a milestone or the `backlog`/`backlog candidate` label, it
49+
will automatically be marked as `stale`. If no changes are made for 14 days after it was marked `stale`,
50+
the automation will close it as `not planned`.
51+
The goal is to get every issue in the issues list to one of the following end states:
5152

52-
- An assigned release.
53-
- The `backlog` label.
54-
- Closed as `out of scope`.
53+
- An assigned milestone.
54+
- The `backlog` label.
55+
- Closed as `not planned`.

0 commit comments

Comments
 (0)