From 3b1c9035893cbe7d5fe82e3b611d24ca658cac88 Mon Sep 17 00:00:00 2001 From: Mic Date: Thu, 5 Sep 2024 18:06:08 +0200 Subject: [PATCH] added stale issues workflow --- .github/workflows/stale.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 00000000..63074f53 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,24 @@ +name: 'Close stale issues' +on: + schedule: + - cron: '30 12 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + stale-issue-message: > + There hasn't been any activity on this issue in the past 7 days. + It will be closed in 3 days if no further activity occurs. + close-issue-message: > + This issue was closed because there hasn't been any activity in the past 10 days. + Feel free to open it again if needed. + days-before-stale: 7 + days-before-close: 3 + days-before-pr-stale: -1 + days-before-pr-close: -1 + remove-stale-when-updated: true + stale-issue-label: "stale" + exempt-issue-labels: "no-stale,new-feature,enhancement,bug" \ No newline at end of file