2020-02-29 01:35:29 +08:00
|
|
|
name: "Close stale issues"
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: "0 0 * * *"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
stale:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2020-08-29 02:56:20 +08:00
|
|
|
- uses: actions/stale@v3
|
2020-02-29 01:35:29 +08:00
|
|
|
with:
|
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
stale-issue-message: 'Issue is stale and will be closed in 7 days unless there is new activity'
|
|
|
|
stale-pr-message: 'PR is stale and will be closed in 7 days unless there is new activity'
|
|
|
|
stale-issue-label: 'meta/stale'
|
|
|
|
exempt-issue-label: 'meta/stale-exempt'
|
|
|
|
stale-pr-label: 'meta/stale'
|
|
|
|
exempt-pr-label: 'meta/stale-exempt'
|
2020-08-29 02:56:20 +08:00
|
|
|
remove-stale-when-updated: true
|
|
|
|
|