Skip to content

Commit

Permalink
github: Autoclose stale issues/PRs that are stare longer than 180 days
Browse files Browse the repository at this point in the history
Set autoclose label after 180 days (no activity) and close (really) two weeks
later.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
  • Loading branch information
ton31337 committed Jun 16, 2022
1 parent aef69e4 commit 0c687ea
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open 180 days with no activity. Comment or remove the `autoclose` label in order to avoid having this issue closed.'
stale-issue-label: autoclose
stale-pr-message: 'This PR is stale because it has been open 180 days with no activity. Comment or remove the `autoclose` label in order to avoid having this PR closed.'
stale-pr-label: autoclose
days-before-stale: 180
days-before-close: -1
days-before-pr-stale: -1
days-before-pr-close: -1
days-before-close: 194
days-before-pr-stale: 180
days-before-pr-close: 194

0 comments on commit 0c687ea

Please sign in to comment.