-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create stale.yml * Update stale.yml * Update CHANGELOG.md
- Loading branch information
1 parent
2599f6e
commit f7ca723
Showing
2 changed files
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,25 @@ | ||
name: Close stale PRs and Issues | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * 0" | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
steps: | ||
- uses: actions/stale@v4 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
days-before-stale: 60 | ||
stale-issue-label: 'stale' | ||
stale-pr-label: 'stale' | ||
stale-issue-message: 'Automatically marking issue as stale due to lack of activity' | ||
stale-pr-message: 'Automatically marking pull request as stale due to lack of activity' | ||
days-before-close: 7 | ||
close-issue-message: 'Automatically closing this issue as stale' | ||
close-pr-message: 'Automatically closing this pull request as stale' |
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