Skip to content

Close stale issues and PRs #512

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

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/close-stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'Close stale issues and PRs'
on:
schedule:
# Run at 06:30 GMT everyday
- cron: "30 6 * * *"
jobs:
stale:
runs-on:
group: databricks-protected-runner-group
labels: linux-ubuntu-latest
steps:
# Release v9 (https://github.com/actions/stale/tree/v9.0.0)
- uses: actions/stale@v9
with:
stale-issue-message: "This issue has been marked as Stale because it has been open for 60 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue."
stale-pr-message: "This PR has been marked as Stale because it has been open for 60 days with no activity. If you would like the PR to remain open, please remove the stale label or comment on the PR."
close-pr-message: "This PR was closed because it has been inactive for 10 days since being marked as stale."
close-issue-message: "This issue was closed because it has been inactive for 10 days since being marked as stale."
days-before-stale: 60
days-before-close: 10
# ignore checking issues with the following labels
exempt-issue-labels: "epic, discussion"
Loading