Skip to content

Commit d65b013

Browse files
authored
chore(actions): don't auto-close stale issues and pull requests (#235)
* chore(actions): don't auto-close stale issues and pull requests Open issues and pull requests should be closed by a human who has considered the issue/pr and made a choice based on the content of the issue/pr and the state of the repository. What this means in practice is that some issues will stay open for a long time, even if they are stale. They may be open because it really is something that will be considered for future work. Periodic issue triage should be done by the maintainers, and if an issue _should_ be closed - for example, the issue is no longer relevant - then a maintainer can close it. Signed-off-by: Lance Ball <lball@redhat.com>
1 parent 25077a9 commit d65b013

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/stale.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
1-
name: Mark stale issues and pull requests
1+
name: Issue Triage
22

33
on:
44
schedule:
55
- cron: "0 0 * * *"
66

77
jobs:
8-
stale:
9-
8+
triage_issues:
109
runs-on: ubuntu-latest
11-
1210
steps:
1311
- uses: actions/stale@v1
1412
with:
1513
repo-token: ${{ secrets.GITHUB_TOKEN }}
16-
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days'
14+
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity.'
1715
days-before-stale: 30
18-
days-before-close: 5
19-
stale-pr-message: 'This pull request is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days'
20-
stale-issue-label: 'no-issue-activity'
21-
stale-pr-label: 'no-pr-activity'
16+
days-before-close: -1
17+
stale-pr-message: 'This pull request is stale because it has been open 30 days with no activity.'
18+
stale-issue-label: 'status/no-issue-activity'
19+
stale-pr-label: 'status/no-pr-activity'

0 commit comments

Comments
 (0)