2021-01-15 20:07:08 +08:00
name : 'Stale issue handler'
2020-08-21 19:44:56 +08:00
on :
2020-08-21 20:19:04 +08:00
workflow_dispatch :
2020-08-21 19:44:56 +08:00
schedule :
2021-01-15 20:07:08 +08:00
- cron : '0 0 * * *'
2020-08-21 19:44:56 +08:00
jobs :
stale :
runs-on : ubuntu-latest
steps :
2021-01-16 22:50:58 +08:00
- uses : actions/stale@main
2021-06-07 20:56:40 +08:00
id : stale
2021-01-15 20:07:08 +08:00
with :
stale-issue-message : 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days'
days-before-stale : 30
days-before-close : 5
2021-01-15 20:40:06 +08:00
exempt-issue-labels : 'blocked,must,should,keep'
2021-06-07 20:56:40 +08:00
- name : Print outputs
run : echo ${{ join(steps.stale.outputs.*, ',') }}