2023-08-03 10:00:10 +00:00
name : "Close Stale Issues"
# Controls when the action will run.
on :
workflow_dispatch :
schedule :
- cron : "0 */4 * * *"
jobs :
cleanup :
permissions :
issues : write
contents : read
pull-requests : write
runs-on : ubuntu-latest
name : Stale issue job
steps :
2023-09-06 08:29:55 +00:00
- uses : actions/stale@v5
2023-08-03 10:00:10 +00:00
with :
issue-types : issues
stale-issue-message : This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.
# These labels are required
2023-09-06 08:29:55 +00:00
stale-issue-label : Stale
exempt-issue-labels : No Autoclose
2023-08-03 10:00:10 +00:00
# Issue timing
2023-09-06 08:29:55 +00:00
days-before-stale : 30
days-before-close : 7
2023-08-03 10:00:10 +00:00
repo-token : ${{ secrets.GITHUB_TOKEN }}
loglevel : DEBUG
# Set dry-run to true to not perform label or close actions.
dry-run : false