mirror of
https://github.com/usememos/memos.git
synced 2024-12-27 15:42:51 +08:00
chore: add stale issue action
This commit is contained in:
parent
2a4ebf5774
commit
22427101f8
1 changed files with 19 additions and 0 deletions
19
.github/workflows/stale.yml
vendored
Normal file
19
.github/workflows/stale.yml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
name: Close Stale Issues
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 * * *"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
stale:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
issues: write
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/stale@v9.0.0
|
||||||
|
with:
|
||||||
|
stale-issue-message: "This issue is stale because it has been open 14 days with no activity."
|
||||||
|
close-issue-message: "This issue was closed because it has been stalled for 28 days with no activity."
|
||||||
|
days-before-issue-stale: 14
|
||||||
|
days-before-issue-close: 14
|
Loading…
Reference in a new issue