2020-07-14 22:28:34 +01:00
|
|
|
name: 'Manage stale issues'
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * *'
|
|
|
|
|
2022-09-28 18:17:33 +01:00
|
|
|
permissions: {}
|
2020-07-14 22:28:34 +01:00
|
|
|
jobs:
|
|
|
|
stale:
|
2022-09-28 18:17:33 +01:00
|
|
|
permissions:
|
|
|
|
issues: write # to close stale issues (actions/stale)
|
|
|
|
pull-requests: write # to close stale PRs (actions/stale)
|
|
|
|
|
2020-07-14 22:28:34 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- name: Stale Bot
|
2023-04-10 17:46:32 +01:00
|
|
|
uses: actions/stale@v8
|
2020-07-14 22:28:34 +01:00
|
|
|
with:
|
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
|
|
|
# Number of days of inactivity before an issue or PR is considered stale
|
2022-06-19 17:53:03 +01:00
|
|
|
days-before-pr-stale: 15
|
|
|
|
|
|
|
|
days-before-issue-stale: 45
|
|
|
|
|
2020-07-14 22:28:34 +01:00
|
|
|
|
|
|
|
# Number of days of inactivity before a stale issue or PR is closed
|
2022-06-19 17:53:03 +01:00
|
|
|
days-before-pr-close: 30
|
|
|
|
|
|
|
|
days-before-issue-close: 90
|
2020-07-14 22:28:34 +01:00
|
|
|
|
|
|
|
# Issues or PRs with these labels will never be considered stale
|
2021-03-16 09:19:52 +00:00
|
|
|
exempt-pr-labels: stalebot ignore
|
2020-07-14 22:28:34 +01:00
|
|
|
|
2022-06-19 17:53:03 +01:00
|
|
|
exempt-issue-labels: stalebot ignore,help wanted
|
|
|
|
|
2020-07-14 22:28:34 +01:00
|
|
|
# Label to use when marking an issue or PR as stale
|
|
|
|
stale-pr-label: waiting
|
|
|
|
|
|
|
|
# Comment to post when marking an issue or PR as stale
|
|
|
|
stale-pr-message: |
|
|
|
|
Hi all! This thread has not had any recent activity.
|
|
|
|
Are there any updates? Thanks!
|
|
|
|
|
|
|
|
# Comment to post when closing a stale issue or PR
|
|
|
|
close-pr-message: |
|
|
|
|
Hi everyone.
|
|
|
|
This thread is being closed as there was no response to the previous prompt.
|
2021-05-10 21:31:43 +01:00
|
|
|
However, please leave a comment whenever you're ready to resume, so the thread can be reopened.
|
|
|
|
Thanks again!
|