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:
|
2021-09-25 14:13:22 -05:00
|
|
|
- uses: actions/stale@v4
|
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'
|
|
|
|
exempt-issue-labels: 'stale-exempt'
|
|
|
|
stale-pr-label: 'stale'
|
|
|
|
exempt-pr-labels: 'stale-exempt'
|
|
|
|
remove-stale-when-updated: 'True'
|
|
|
|
operations-per-run: 500
|
|
|
|
days-before-stale: 30
|
|
|
|
days-before-close: 14
|