-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Comments on stale issues and PRs
- Loading branch information
Showing
1 changed file
with
24 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,24 @@ | ||
name: "Make comments on stale issues and PRs" | ||
|
||
on: | ||
schedule: | ||
- cron: "30 13 * * *" | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- uses: actions/stale@v9 | ||
with: | ||
remove-stale-when-updated: true | ||
|
||
days-before-issue-stale: 45 | ||
stale-issue-label: stale | ||
stale-issue-message: "This issue is stale because it has been open 45 days with no activity. Please make a comment for triaging or closing the issue." | ||
|
||
days-before-pr-stale: 7 | ||
stale-pr-label: stale | ||
stale-pr-message: "This PR is stale because it has been open 7 days with no activity. Please review this PR." |