Update stale action

This commit is contained in:
Jinzhu 2020-07-09 22:14:11 +08:00
parent d04984323f
commit c091cd6aa4
1 changed files with 8 additions and 5 deletions

View File

@ -1,7 +1,7 @@
name: "Stale"
on:
schedule:
- cron: "*/10 * * * *"
- cron: "0 2 * * *"
jobs:
stale:
@ -13,7 +13,10 @@ jobs:
uses: actions/stale@v3.0.7
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: "This issue will be automatically closed because it is marked as GORM V1 issue, we have released the public testing GORM V2 release and its documents https://v2.gorm.io/docs/ already, the testing release has been used in some production services for a while, and going to release the final version in following weeks, we are still actively collecting feedback before it, please open a new issue for any suggestion or problem, thank you\n\n Also check out https://github.com/go-gorm/gorm/wiki/GORM-V2-Release-Note-Draft for how to use the public testing version and its changelog"
stale-issue-label: "status:gorm_v1"
days-before-stale: 30
days-before-close: 0
stale-issue-message: "This issue has been automatically marked as stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days"
days-before-stale: 60
days-before-close: 30
stale-issue-label: "status:stale"
exempt-issue-labels: 'type:feature,type:with reproduction steps,type:has pull request'
stale-pr-label: 'status:stale'
exempt-pr-labels: 'type:feature,type:with reproduction steps,type:has pull request'