From 0aa244227dc5804e3b83ab895ec7c8f7dc3ed1fa Mon Sep 17 00:00:00 2001 From: GenevieveBuckley <30920819+GenevieveBuckley@users.noreply.github.com> Date: Mon, 11 Oct 2021 16:07:38 +1100 Subject: [PATCH 1/3] Stale label github actions --- .github/workflows/stale-bot.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 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..3796ff0d777 --- /dev/null +++ b/.github/workflows/stale-bot.yaml @@ -0,0 +1,21 @@ +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-pr-labels: 'awaiting-approval,work-in-progress' + exempt-draft-pr: true + start-date: '2020-04-18T00:00:00Z' # ignore before this date, ISO 8601 or RFC 2822 From b51a101a848684a5a5fc8582247d3bc47ccfef0c Mon Sep 17 00:00:00 2001 From: Genevieve Buckley <30920819+GenevieveBuckley@users.noreply.github.com> Date: Tue, 12 Oct 2021 09:55:56 +1100 Subject: [PATCH 2/3] Update stale-bot.yaml --- .github/workflows/stale-bot.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale-bot.yaml b/.github/workflows/stale-bot.yaml index 3796ff0d777..e5fa8d5213c 100644 --- a/.github/workflows/stale-bot.yaml +++ b/.github/workflows/stale-bot.yaml @@ -16,6 +16,6 @@ jobs: 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-pr-labels: 'awaiting-approval,work-in-progress' + #exempt-pr-labels: 'awaiting-approval,work-in-progress' exempt-draft-pr: true start-date: '2020-04-18T00:00:00Z' # ignore before this date, ISO 8601 or RFC 2822 From b2864d54b5f5d2f769241f8ea0903f3acb5e6539 Mon Sep 17 00:00:00 2001 From: Genevieve Buckley <30920819+GenevieveBuckley@users.noreply.github.com> Date: Tue, 19 Oct 2021 11:37:09 +1100 Subject: [PATCH 3/3] Update .github/workflows/stale-bot.yaml Co-authored-by: James Bourbeau --- .github/workflows/stale-bot.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/stale-bot.yaml b/.github/workflows/stale-bot.yaml index e5fa8d5213c..f1df41e58f6 100644 --- a/.github/workflows/stale-bot.yaml +++ b/.github/workflows/stale-bot.yaml @@ -16,6 +16,5 @@ jobs: 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-pr-labels: 'awaiting-approval,work-in-progress' exempt-draft-pr: true start-date: '2020-04-18T00:00:00Z' # ignore before this date, ISO 8601 or RFC 2822