From edf9596ca85d6cd604ceb391560bd491e65609b7 Mon Sep 17 00:00:00 2001 From: vesta Date: Fri, 25 Sep 2020 14:40:01 +0800 Subject: [PATCH] ci: add close stale (#2001) --- .github/workflows/stale.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000..488fe1f --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,19 @@ +name: "Close stale issues" +on: + schedule: + - cron: "0 0 * * *" + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - 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