-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #251 from sablier-labs/ci/close-stale-issues
ci: bot for closing stale issues and PR
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: "Close stale issues and PRs" | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 3 * * 0" # at 3:00am UTC every Sunday | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v9 | ||
with: | ||
close-issue-message: "This issue was closed because it has been stalled for 14 days with no activity." | ||
close-issue-reason: "not_planned" | ||
close-pr-message: "This PR was closed because it has been stalled for 7 days with no activity." | ||
days-before-issue-close: 14 | ||
days-before-issue-stale: 182 | ||
days-before-pr-close: 7 | ||
days-before-pr-stale: 90 | ||
exempt-issue-labels: "help,priority0" | ||
operations-per-run: 1000 | ||
stale-issue-label: "stale" | ||
stale-issue-message: "This issue is stale because it has been open 6 months with no activity. Leave a comment or remove the \"stale\" label, otherwise this will be closed in 14 days." | ||
stale-pr-label: "stale" | ||
stale-pr-message: "This PR is stale because it has been open 3 months with no activity. Leave a comment or remove the \"stale\" label, otherwise this will be closed in 7 days." |