-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add stale workflow to start sync with stale.yaml in prometheus #1170
Conversation
b283031
to
8209849
Compare
I wonder if we should have a Prometheus dev discussion about stale bot. I would prefer to keep this setup consistent between projects. |
yes, I was looking to see how prometheus does it, and found this PR, which links to Prometheus 2019 Dev Summit 2, which says:
but it's using probot app, which is archived now. Option 1: align this bot's config to match what we have in Option 2: I can raise a PR in I am leaning towards option 2. |
My recommendation
There's no need for a new consensus, as we already decided that we should have this everywhere. We just didn't roll it out. 😹 |
opened prometheus/prometheus#14650. going to close this because once prometheus/prometheus#14650 is merged, config will be synced to our repo. |
Signed-off-by: Suraj Nath <[email protected]>
8209849
to
24ab808
Compare
reopening this PR because we need to create the see logs from a recent repo_sync run |
repo_sync automation in prometheus/prometheus only syncs the files that exist in the target repo, so create .github/workflows/stale.yml to register and then automation will keep it in sync with prometheus/prometheus Signed-off-by: Suraj Nath <[email protected]>
24ab808
to
44a1913
Compare
create the .github/workflows/stale.yml for automation to register and keep it sync it in sync with https://github.com/prometheus/prometheus/blob/main/.github/workflows/stale.yml
Add github actions workflow using https://github.com/actions/stale.It runs everyday and marks issues and pull requests stale with no activity in last 90 days, and it will close stale issues and pull requests without activity for 30 days (120 days before an issue is closed)issues and pull requests that has labelkeepalive
,dependencies
, orbug
will be excluded by the workflow.goal of this workflow is to make it easier for maintainer to maintain the project and close out old issues and PR with automation and save maintainers time :)ps: when we merge this PR, this workflow will mark issues and pull requests stale that had no activity in last 90 days.