From 6f6322e1697b5b12fa81cde8a05d5088855c1a3a Mon Sep 17 00:00:00 2001 From: hasezoey Date: Tue, 8 Sep 2020 02:07:04 +0200 Subject: [PATCH] docs: add workflow "stale" --- .github/workflows/stale.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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 000000000..ccfa8a090 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,23 @@ +# https://github.com/actions/stale + +name: Mark stale issues and pull requests + +on: + schedule: + - cron: '30 1 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'Marking Issue as stale, will be closed in 7 days if no more activity is seen' + close-issue-message: 'Closing Issue because it is marked as stale' + stale-issue-label: stale + only-labels: question,can't reproduce,Needs More Information,needs repro script,stale + exempt-issue-labels: help wanted,docs,enhancement,feature,dependencies + days-before-stale: 60 + days-before-close: 7 + remove-stale-when-updated: true