2023-06-25 20:53:29 +00:00
|
|
|
name: Close stale issues
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '50 1 * * *'
|
2020-10-16 07:50:08 +00:00
|
|
|
|
2023-06-25 20:53:29 +00:00
|
|
|
jobs:
|
|
|
|
stale:
|
|
|
|
runs-on: ubuntu-latest
|
2024-04-07 07:40:45 +00:00
|
|
|
permissions:
|
|
|
|
issues: write
|
|
|
|
pull-requests: write
|
2023-06-25 20:53:29 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/stale@v8
|
|
|
|
with:
|
2024-04-07 07:40:45 +00:00
|
|
|
days-before-issue-stale: 90
|
2023-06-25 20:53:29 +00:00
|
|
|
days-before-pr-stale: -1
|
|
|
|
days-before-issue-close: 7
|
|
|
|
# days-before-pr-close: 10
|
2020-10-16 07:50:08 +00:00
|
|
|
|
2023-06-25 20:53:29 +00:00
|
|
|
stale-issue-label: "status:stale"
|
|
|
|
stale-pr-label: "status:stale"
|
2020-10-16 07:50:08 +00:00
|
|
|
|
2023-06-25 20:53:29 +00:00
|
|
|
exempt-issue-labels: >
|
|
|
|
status:idea,
|
|
|
|
status:planning,
|
|
|
|
status:on hold,
|
|
|
|
status:ready,
|
|
|
|
type:bug,
|
|
|
|
type:docs,
|
|
|
|
type:enhancement,
|
|
|
|
type:feature,
|
|
|
|
type:refactor,
|
|
|
|
type:task,
|
2020-10-16 07:50:08 +00:00
|
|
|
|
2023-06-25 20:53:29 +00:00
|
|
|
stale-issue-message: >
|
|
|
|
This issue has been automatically marked as stale because it has not had
|
|
|
|
recent activity. It will be closed if no further activity occurs. Thank you
|
|
|
|
for your contributions.
|
|
|
|
close-issue-message: >
|
|
|
|
This issue was closed because it has been stalled for 7 days with no activity.
|