2021-08-09 11:07:26 -05:00
|
|
|
name: 'Close stale issues'
|
2020-02-28 11:35:29 -06:00
|
|
|
on:
|
|
|
|
schedule:
|
2021-08-09 11:07:26 -05:00
|
|
|
- cron: '0 0 * * *'
|
2020-02-28 11:35:29 -06:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
stale:
|
2020-10-12 12:26:22 -05:00
|
|
|
name: Stale
|
2020-02-28 11:35:29 -06:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-03-26 22:29:53 -05:00
|
|
|
- uses: actions/stale@v8
|
2021-08-09 11:07:26 -05:00
|
|
|
with:
|
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
stale-issue-message: 'Issue is stale and will be closed in 14 days unless there is new activity'
|
|
|
|
stale-pr-message: 'PR is stale and will be closed in 14 days unless there is new activity'
|
|
|
|
stale-issue-label: 'stale'
|
2022-03-14 10:21:06 -05:00
|
|
|
exempt-issue-labels: 'stale-exempt,kind/feature-request'
|
2021-08-09 11:07:26 -05:00
|
|
|
stale-pr-label: 'stale'
|
|
|
|
exempt-pr-labels: 'stale-exempt'
|
|
|
|
remove-stale-when-updated: 'True'
|
|
|
|
operations-per-run: 500
|
2023-01-29 10:44:53 -06:00
|
|
|
days-before-stale: 180
|
2021-08-09 11:07:26 -05:00
|
|
|
days-before-close: 14
|