diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-06-16 21:49:52 +0300 | 
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-06-16 21:54:55 +0300 | 
| commit | 0c687ea4c1f4aa3a607d520de02cbc85bb768521 (patch) | |
| tree | ef558ad275895ba5511e0ae6a9d9fa6534b1026f /.github | |
| parent | aef69e4f39d7f9d23f503907b4d4a3056ed2b537 (diff) | |
github: Autoclose stale issues/PRs that are stare longer than 180 days
Set autoclose label after 180 days (no activity) and close (really) two weeks
later.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/stale.yml | 8 | 
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index df9f5ce5b3..aea81e9e13 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -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  | 
