-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add action that handles stale contributions
- Loading branch information
1 parent
846ac83
commit 9b62a83
Showing
1 changed file
with
22 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,22 @@ | ||
name: Manage stale contributions | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * *' # Run every day at midnight | ||
|
||
jobs: | ||
manage_stale_contributions: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Manage stale contributions | ||
uses: actions/stale@v9 | ||
with: | ||
any-of-issue-labels: 'Needs more info' | ||
stale-issue-message: 'This issue is now stale because it has been open for 14 days with no activity. Please provide the requested information or the issue will be closed automatically.' | ||
close-issue-message: 'This issue is now closed because it has been stale for 14 days with no activity.' | ||
days-before-issue-stale: 14 | ||
days-before-issue-close: 14 | ||
stale-pr-message: 'This PR is now stale because it has been open for 30 days with no activity. Please provide the requested information or the issue will be closed automatically.' | ||
close-pr-message: 'This issue is now closed because it has been stale for 14 days with no activity.' | ||
days-before-pr-stale: 30 | ||
days-before-pr-close: 7 |