From cef6e5bb4a92ad5ae77c3c0234707108216dbdd9 Mon Sep 17 00:00:00 2001 From: Walter Lucetti Date: Wed, 20 Apr 2022 11:49:59 +0200 Subject: [PATCH] Create stale_issues.yml --- .github/workflows/stale_issues.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/stale_issues.yml diff --git a/.github/workflows/stale_issues.yml b/.github/workflows/stale_issues.yml new file mode 100644 index 00000000..9e01bd59 --- /dev/null +++ b/.github/workflows/stale_issues.yml @@ -0,0 +1,23 @@ +name: 'Stale issue handler' +on: + workflow_dispatch: + schedule: + - cron: '00 00 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@main + id: stale + with: + stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days' + stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days' + days-before-stale: 30 + days-before-close: 5 + operations-per-run: 1500 + exempt-issue-labels: 'feature_request' + exempt-pr-labels: 'feature_request' + enable-statistics: 'true' + close-issue-label: 'closed_for_stale' + close-pr-label: 'closed_for_stale'