From 5465af8b7d0f3c8c1d72d9104a794cf202454eb9 Mon Sep 17 00:00:00 2001 From: hasezoey Date: Tue, 8 Sep 2020 08:08:09 +0200 Subject: [PATCH] ci: add workflow "stale" (#354) --- .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