From d98d2801cda022cf5b5aa9a535580d111220857a Mon Sep 17 00:00:00 2001 From: tanghuafa Date: Fri, 25 Sep 2020 11:39:35 +0800 Subject: [PATCH] fix --- .github/workflows/stale.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 750bfeb0..488fe1f5 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,18 +1,19 @@ -name: "Close stale issues & pull requests" +name: "Close stale issues" on: schedule: - - cron: "0 0 * * *" + - cron: "0 0 * * *" jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v3 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-pr-message: "This pull request has been automatically marked as stale because it has not had - recent activity. It will be closed if no further activity occurs. Thank you - for your contributions." - days-before-stale: 45 - days-before-close: 30 - exempt-pr-labels: "pinned, security, proposal, blocked" \ No newline at end of file + - uses: actions/stale@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'Mark this issue stale. Thank you for your feedback.' + stale-pr-message: 'Mark this pr stale. Thank you for your contribution.' + stale-issue-label: 'no-issue-activity' + exempt-issue-labels: 'WIP,bug,doc,easy,enhancement,FrozenDueToAge,future,help wanted,Icebox,In Progress,need-usage-help,prososal,question,testing,todo' + stale-pr-label: 'no-pr-activity' + 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' \ No newline at end of file