From 98fed9b2c1bede42d661b542c425da866d4630dd Mon Sep 17 00:00:00 2001 From: Genevieve Buckley <30920819+GenevieveBuckley@users.noreply.github.com> Date: Wed, 20 Oct 2021 08:23:11 +1100 Subject: [PATCH] Stale label github action (#8244) --- .github/workflows/stale-bot.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/stale-bot.yaml diff --git a/.github/workflows/stale-bot.yaml b/.github/workflows/stale-bot.yaml new file mode 100644 index 00000000000..f1df41e58f6 --- /dev/null +++ b/.github/workflows/stale-bot.yaml @@ -0,0 +1,20 @@ +name: 'Label stale issues and PRs' +on: + schedule: + - cron: '30 1 * * 1' # runs once a week + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v4 + with: + stale-issue-message: '' # no comment left if string is empty + stale-pr-message: '' # no comment left if string is empty + days-before-stale: 30 + days-before-close: -1 + stale-issue-label: 'needs attention' + stale-pr-label: 'needs attention' + exempt-issue-labels: 'good intro to dask,good first issue,Good First Issue,good second issue,feature request' + exempt-draft-pr: true + start-date: '2020-04-18T00:00:00Z' # ignore before this date, ISO 8601 or RFC 2822