2023-11-02 18:42:26 +00:00
name : 'Process stale needs-feedback issues'
2021-03-26 17:29:53 +00:00
on :
schedule :
2023-11-02 18:42:26 +00:00
- cron : '11 0 * * *'
- cron : '21 1 * * *'
- cron : '31 2 * * *'
- cron : '41 3 * * *'
2021-03-26 17:29:53 +00:00
2023-01-02 17:28:11 +00:00
permissions : {}
2021-03-26 17:29:53 +00:00
jobs :
stale :
2022-04-27 01:28:56 +00:00
runs-on : ubuntu-20.04
2023-01-02 17:28:11 +00:00
permissions :
contents : read
issues : write
pull-requests : write
2021-03-26 17:29:53 +00:00
steps :
2023-11-02 18:42:26 +00:00
- name : Install Actions Core
run : npm --prefix .github/workflows/scripts install @actions/core
- name : Get start date
id : startdate
run : node .github/workflows/scripts/stalebot.js
env :
CRON_SCHEDULE : ${{ github.event.schedule }}
- name : Scan issues
uses : actions/stale@v8
2021-03-26 17:29:53 +00:00
with :
repo-token : ${{ secrets.GITHUB_TOKEN }}
2023-11-02 18:42:26 +00:00
operations-per-run : 8
start-date : steps.startdate.outputs.stale-start-date
2022-04-21 18:46:30 +00:00
stale-issue-message : "As a part of this repository's maintenance, this issue is being marked as stale due to inactivity. Please feel free to comment on it in case we missed something.\n\n###### After 7 days with no activity this issue will be automatically be closed."
2021-03-26 17:29:53 +00:00
close-issue-message : 'This issue was closed because it has been 14 days with no activity.'
days-before-issue-stale : 7
days-before-issue-close : 7
days-before-pr-close : -1
2022-02-18 20:11:30 +00:00
stale-issue-label: 'status : stale'
stale-pr-label: 'status : stale'
2023-09-25 13:39:27 +00:00
exempt-issue-labels: 'type : enhancement'
2022-02-16 04:48:25 +00:00
only-issue-labels: 'needs : author feedback'
close-issue-label : "status: can't reproduce"
2021-04-05 21:16:12 +00:00
ascending : true