From 17b3e26e504a68aac6938768c34a96b2c87a3761 Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Fri, 15 Dec 2023 18:02:53 +0100 Subject: [PATCH] Added stale action --- .github/workflows/close-stale-issues.yml | 25 ++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/close-stale-issues.yml diff --git a/.github/workflows/close-stale-issues.yml b/.github/workflows/close-stale-issues.yml new file mode 100644 index 00000000..e37d7f63 --- /dev/null +++ b/.github/workflows/close-stale-issues.yml @@ -0,0 +1,25 @@ +name: 'Close stale issues and PRs' +on: + schedule: + - cron: '30 1 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + stale-issue-message: 'If you would like us to look at this issue, please provide the requested + information. If the information is not provided within the next 7 days this issue + will be closed.' + stale-pr-message: 'If you would like us to look at this PR, please provide the requested + information. If the information is not provided within the next 7 days this issue + will be closed.' + close-issue-message: 'Closing due to lack of requested feedback. If you would like us to look at this + issue, please provide the requested information and we will re-open the issue.' + close-issue-label: 'closed-as-inactive' + days-before-stale: 7 + days-before-close: 7 + stale-issue-label: 'feedback-reminder' + exempt-issue-labels: 'feedback-provided,work-in-progress' + exempt-all-pr-milestones: true \ No newline at end of file