forked from microsoft/vcpkg
-
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.
Use Stale bot to close issues (microsoft#28806)
* Use Stale bot to close issues * Update .github/workflows/stale.yml Co-authored-by: Adam Johnson <[email protected]> * update action --------- Co-authored-by: Adam Johnson <[email protected]>
- Loading branch information
1 parent
ba1ae2e
commit 4d07065
Showing
1 changed file
with
31 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,31 @@ | ||
name: 'Close stale issues and PRs' | ||
on: | ||
schedule: | ||
- cron: '30 1 * * *' | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v6 | ||
with: | ||
stale-issue-message: 'This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.' | ||
only-labels: 'category:question' | ||
days-before-issue-stale: 28 | ||
days-before-pr-stale: -1 | ||
days-before-close: 14 | ||
- uses: actions/stale@v6 | ||
with: | ||
stale-issue-message: 'This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.' | ||
only-labels: 'requires:repro' | ||
days-before-issue-stale: 28 | ||
days-before-pr-stale: -1 | ||
days-before-close: 14 | ||
- uses: actions/stale@v6 | ||
with: | ||
close-issue-message: "This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 60 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment." | ||
ony-of-labels: 'category:new-port' | ||
close-issue-label: 'new-port-unresolved' | ||
days-before-issue-stale: 60 | ||
days-before-pr-stale: -1 | ||
days-before-close: 14 |