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 bot #2842

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Stale bot #2842

wants to merge 11 commits into from

Conversation

kkawula
Copy link
Collaborator

@kkawula kkawula commented Jan 13, 2025

Closes #2816
Settings reference: https://github.com/actions/stale?tab=readme-ov-file#all-options

Introduced changes

Checklist

  • Linked relevant issue
  • Updated relevant documentation
  • Added relevant tests
  • Performed self-review of the code
  • Added changes to CHANGELOG.md

@kkawula kkawula changed the title Initial stale bot setup Stale bot setup Jan 13, 2025
@kkawula kkawula changed the title Stale bot setup Stale bot Jan 13, 2025
@kkawula kkawula marked this pull request as ready for review January 13, 2025 09:23
Copy link
Collaborator

@franciszekjob franciszekjob left a 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 👍

.github/workflows/automate-stale.yml Outdated Show resolved Hide resolved
Copy link
Member

@cptartur cptartur left a 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

Copy link
Collaborator Author

@kkawula kkawula left a comment

Choose a reason for hiding this comment

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

days-before-stale: ${{ env.DAYS_BEFORE_STALE }}
days-before-close: ${{ env.DAYS_BEFORE_CLOSE }}
operations-per-run: 3000
exempt-all-milestones: true
Copy link
Member

Choose a reason for hiding this comment

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

Do we need it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not really, removed

.github/workflows/automate-stale.yml Show resolved Hide resolved
.github/workflows/automate-stale.yml Outdated Show resolved Hide resolved
.github/workflows/automate-stale.yml Outdated Show resolved Hide resolved
@kkawula kkawula requested a review from cptartur January 23, 2025 09:32
- cron: '0 7 * * 1-5'

env:
DAYS_BEFORE_STALE: 60
Copy link
Member

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.


env:
DAYS_BEFORE_STALE: 60
DAYS_BEFORE_CLOSE: 7
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setup stalebot
3 participants