Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stale label github action #5405

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/stale-bot.yml
@@ -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'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
exempt-issue-labels: 'good intro to dask,good first issue,Good First Issue,good second issue,feature request'
exempt-issue-labels: 'good first issue,good second issue,feature,flaky test, enhancement'

Some of the labels in here do not exist

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah I imagine they either used to exist or they exist on dask but not distributed.

#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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why would we want to ignore tickets before this date? @jsignell do you know why this is in here?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess the idea was not to apply them to all of history, but only going forward. Based on the conversation in the dev meeting, seems like we are ok with letting the bot do more.