-
Notifications
You must be signed in to change notification settings - Fork 198
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 bot #2842
base: master
Are you sure you want to change the base?
Stale bot #2842
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to make sure it works - could you please test it on your repo (set DAYS_BEFORE_STALE
and DAYS_BEFORE_CLOSE
to 1
so it will be quick)? Otherwise looks good 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's only execute it on PRs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.github/workflows/automate-stale.yml
Outdated
days-before-stale: ${{ env.DAYS_BEFORE_STALE }} | ||
days-before-close: ${{ env.DAYS_BEFORE_CLOSE }} | ||
operations-per-run: 3000 | ||
exempt-all-milestones: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really, removed
Co-authored-by: Artur Michałek <[email protected]>
.github/workflows/automate-stale.yml
Outdated
- cron: '0 7 * * 1-5' | ||
|
||
env: | ||
DAYS_BEFORE_STALE: 60 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, let's maybe reduce it to 30 or something like this.
.github/workflows/automate-stale.yml
Outdated
|
||
env: | ||
DAYS_BEFORE_STALE: 60 | ||
DAYS_BEFORE_CLOSE: 7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But this maybe can be increased a bit?
Closes #2816
Settings reference: https://github.com/actions/stale?tab=readme-ov-file#all-options
Introduced changes
Checklist
CHANGELOG.md