2021-08-21 03:03:36 +08:00
|
|
|
name: Mark stale issues and pull requests
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
2021-08-21 19:10:42 +08:00
|
|
|
- cron: '0 0 * * *'
|
2021-08-21 03:03:36 +08:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
stale:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
issues: write
|
|
|
|
pull-requests: write
|
|
|
|
|
|
|
|
steps:
|
2021-09-14 06:11:26 +08:00
|
|
|
- uses: actions/stale@v4
|
2021-08-21 03:03:36 +08:00
|
|
|
with:
|
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
2021-08-21 19:10:42 +08:00
|
|
|
stale-issue-message: 'There has been no recent activity and this issue has been marked inactive.'
|
|
|
|
stale-pr-message: 'There has been no recent activity and this PR has been marked inactive.'
|
|
|
|
stale-issue-label: 'status: inactive'
|
|
|
|
stale-pr-label: 'status: inactive'
|