-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add stale action for processing PRs and Issues (#2301)
- Loading branch information
1 parent
c7a47b1
commit 0296b95
Showing
1 changed file
with
28 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,28 @@ | ||
name: "Mark stale issues and pull requests" | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" # Runs every day at midnight | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v9 | ||
with: | ||
operations-per-run: 30 | ||
remove-stale-when-updated: true | ||
# Pull request configuration | ||
days-before-stale-pr: 14 | ||
days-before-stale-pr-draft: 180 | ||
days-before-close-pr: 7 | ||
stale-pr-message: "This pull request has been marked as stale due to inactivity." | ||
close-pr-message: "Closing this pull request due to inactivity." | ||
stale-pr-label: "S: Stale" | ||
# Issue configuration: We only operate on issues that are waiting for a response | ||
days-before-stale-issue: 14 | ||
days-before-close-issue: 14 | ||
only-issue-labels: "S: Awaiting response" | ||
stale-issue-message: "Please follow-up with this issue and provide more information on how to close it or make progress on it" | ||
close-issue-message: "Closing this issue due to inactivity." | ||
stale-issue-label: "S: Stale" |