From 7f637afae7521647aeac7e99c5cc02340d1e8363 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=BCrmann?= Date: Wed, 23 Nov 2022 16:01:42 +0100 Subject: [PATCH] Close incomplete issues after 60 days. This has been proven as useful in Launchpad https://help.launchpad.net/BugExpiry --- .github/workflows/stale.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 517752aba4a..8a25d7d1516 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,6 +1,6 @@ # yaml-language-server: $schema=https://json.schemastore.org/github-workflow -name: "Detect stale issues" +name: "Detect stale issues and pull request" on: schedule: - cron: "0 0 * * *" @@ -18,10 +18,13 @@ jobs: - uses: actions/stale@v6 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-issue-message: "This issue is marked as stale because it has been open 90 days with no activity." - stale-issue-label: "stale" stale-pr-message: "This PR is marked as stale because it has been open 90 days with no activity." stale-pr-label: "stale" - days-before-stale: 90 - days-before-close: -1 + days-before-pr-stale: 90 + days-before-pr-close: -1 exempt-pr-labels: "needs review" + close-issue-message: "Expired for Mixxx because there has been no activity for 60 days." + stale-issue-label: "stale" + days-before-issue-stale: 60 + days-before-issue-close: 0 + only-issue-labels: "incomplete"