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:
|
2022-12-26 10:13:17 +08:00
|
|
|
- uses: actions/stale@v7
|
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
|
|
|
|
days-before-stale: 30
|
|
|
|
days-before-close: 14
|