mirror of
https://github.com/makayabou/asg-server.git
synced 2026-05-02 17:43:36 +02:00
[actions] add close issues workflow
This commit is contained in:
parent
f9920e1de7
commit
4a23c13f6e
21
.github/workflows/close-issues.yml
vendored
Normal file
21
.github/workflows/close-issues.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
name: Close inactive issues
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "30 1 * * *"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
close-issues:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
issues: write
|
||||||
|
steps:
|
||||||
|
- uses: actions/stale@v9
|
||||||
|
with:
|
||||||
|
days-before-issue-stale: 7
|
||||||
|
days-before-issue-close: 7
|
||||||
|
days-before-pr-close: -1
|
||||||
|
days-before-pr-stale: -1
|
||||||
|
stale-issue-message: "This issue is stale because it has been open for 7 days with no activity."
|
||||||
|
close-issue-message: "This issue was closed because it has been inactive for 7 days since being marked as stale."
|
||||||
|
stale-issue-label: "stale"
|
||||||
|
exempt-all-assignees: true
|
||||||
Loading…
x
Reference in New Issue
Block a user