2021-08-10 00:07:26 +08:00
|
|
|
name: 'Close stale issues'
|
2020-02-29 01:35:29 +08:00
|
|
|
on:
|
|
|
|
schedule:
|
2021-08-10 00:07:26 +08:00
|
|
|
- cron: '0 0 * * *'
|
2020-02-29 01:35:29 +08:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
stale:
|
2020-10-13 01:26:22 +08:00
|
|
|
name: Stale
|
2020-02-29 01:35:29 +08:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-12-17 17:14:56 +08:00
|
|
|
- uses: actions/stale@v9
|
2021-08-10 00:07:26 +08: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 23:21:06 +08:00
|
|
|
exempt-issue-labels: 'stale-exempt,kind/feature-request'
|
2021-08-10 00:07:26 +08:00
|
|
|
stale-pr-label: 'stale'
|
|
|
|
exempt-pr-labels: 'stale-exempt'
|
|
|
|
remove-stale-when-updated: 'True'
|
|
|
|
operations-per-run: 500
|
2023-01-30 00:44:53 +08:00
|
|
|
days-before-stale: 180
|
2021-08-10 00:07:26 +08:00
|
|
|
days-before-close: 14
|