From 761741d66dcea5620bcd26ede95717b2e5acf275 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 4 Feb 2021 10:31:50 +0100 Subject: [PATCH] Invert stale condition There seems to be a bug in current actions/stale and it uses the default value for checking actual staleness of an issue. So use the lower value there. This will make marking PRs as stale earlier, but we don't have any stale right now. Hopefully it will get properly fixed in the action. See https://github.com/actions/stale/pull/304 See https://github.com/actions/stale/issues/299 --- .github/workflows/stale.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 746442a..f290e75 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -17,10 +17,10 @@ jobs: steps: - uses: actions/stale@v3.0.15 with: - days-before-stale: 30 - days-before-close: 14 - days-before-issue-stale: 10 - days-before-issue-close: 4 + days-before-pr-stale: 30 + days-before-pr-close: 14 + days-before-stale: 10 + days-before-close: 4 exempt-issue-labels: bug,enhancement,documentation,security stale-issue-label: wontfix stale-pr-label: wontfix