Close Threads #857
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
{ | |
"name": "Close Threads", | |
"on": { | |
"schedule": [ | |
{ | |
"cron": "27 1 * * *" | |
} | |
], | |
"workflow_dispatch": null | |
}, | |
"permissions": { | |
"issues": "write", | |
"pull-requests": "write" | |
}, | |
"concurrency": { | |
"group": "lock" | |
}, | |
"jobs": { | |
"close_unconfirmed_after_inactivity": { | |
"runs-on": "ubuntu-latest", | |
"steps": [ | |
{ | |
"uses": "actions/stale@v9", | |
"with": { | |
"stale-issue-label": "unconfirmed", | |
"ignore-updates": true, | |
"remove-stale-when-updated": false, | |
"days-before-stale": -1, | |
"days-before-close": 45, | |
"close-issue-message": "Closing after being unconfirmed for 45 Days." | |
} | |
} | |
] | |
} | |
} | |
} |