From 0e1e131906631d5d2242ce1cb2931e90b5c8d6bb Mon Sep 17 00:00:00 2001 From: Yana Vasileva Date: Sat, 1 Jun 2024 11:49:27 +0200 Subject: [PATCH] feat(workflows): add stale workflow --- .github/workflows/close-stale-issues.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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 0000000..0d4f112 --- /dev/null +++ b/.github/workflows/close-stale-issues.yml @@ -0,0 +1,21 @@ +name: 'Close stale issues and PRs' +on: + schedule: + - cron: '0 0 8 ? * WED,SAT *' + workflow_dispatch: # can be used to trigger the workflow manually + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + 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.' + close-pr-message: 'Closing due to lack of requested feedback. If you would like us to look at this, please provide the requested information and we will re-open.' + close-issue-label: 'group:closed-as-inactive' + close-pr-label: 'group:closed-as-inactive' + days-before-close: 1 + only-labels: 'group:requested-info' + exempt-issue-labels: 'group:info-provided' + exempt-pr-labels: 'group:info-provided' +# operations-per-run: 300 \ No newline at end of file