This commit is contained in:
tanghuafa 2020-09-25 11:39:35 +08:00
parent 308808f768
commit d98d2801cd

View File

@ -1,18 +1,19 @@
name: "Close stale issues & pull requests" name: "Close stale issues"
on: on:
schedule: schedule:
- cron: "0 0 * * *" - cron: "0 0 * * *"
jobs: jobs:
stale: stale:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/stale@v3 - uses: actions/stale@v3
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: "This pull request has been automatically marked as stale because it has not had stale-issue-message: 'Mark this issue stale. Thank you for your feedback.'
recent activity. It will be closed if no further activity occurs. Thank you stale-pr-message: 'Mark this pr stale. Thank you for your contribution.'
for your contributions." stale-issue-label: 'no-issue-activity'
days-before-stale: 45 exempt-issue-labels: 'WIP,bug,doc,easy,enhancement,FrozenDueToAge,future,help wanted,Icebox,In Progress,need-usage-help,prososal,question,testing,todo'
days-before-close: 30 stale-pr-label: 'no-pr-activity'
exempt-pr-labels: "pinned, security, proposal, blocked" exempt-pr-labels: 'WIP,bug,doc,easy,enhancement,FrozenDueToAge,future,help wanted,Icebox,In Progress,need-usage-help,prososal,question,testing,todo'
only-labels: 'invalid,duplicate,no plan'