mirror of
https://github.com/shirayu/whispering.git
synced 2024-11-28 20:11:08 +00:00
Add stale bot
This commit is contained in:
parent
fab5682f5f
commit
3d7c24797f
1 changed files with 21 additions and 0 deletions
21
.github/workflows/stale-issues.yml
vendored
Normal file
21
.github/workflows/stale-issues.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
name: Close inactive issues
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "45 1 * * *"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
close-issues:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/stale@v6.0.1
|
||||||
|
with:
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
stale-issue-message: "This issue is stale because it has been open for 21 days with no activity."
|
||||||
|
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."
|
||||||
|
stale-issue-label: "Status: Stale"
|
||||||
|
only-labels: "Type: Question"
|
||||||
|
exempt-issue-labels: "Status: In Progress"
|
||||||
|
days-before-issue-stale: 21
|
||||||
|
days-before-issue-close: 14
|
||||||
|
days-before-pr-stale: -1
|
||||||
|
days-before-pr-close: -1
|
Loading…
Reference in a new issue