From e8d4054f84b8793444065187bb6c87f02af54605 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Sat, 19 Oct 2019 16:20:25 +0200 Subject: [PATCH] Create Stale Issue Action --- .github/workflows/stale.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 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..5f64f5d --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,24 @@ +name: Mark stale issues and pull requests + +on: + schedule: + - cron: "15 16 * * *" + +jobs: + stale: + + runs-on: ubuntu-latest + + steps: + - uses: actions/stale@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'There has been no activity on this issue for an extended period of time. This issue will be closed after further 14 days of inactivity.' + stale-pr-message: 'There has been no activity on this Pull Request for an extended period of time. This Pull Request will be closed after further 14 days of inactivity.' + stale-issue-label: 'stale' + stale-pr-label: 'stale' + exempt-issue-label: 'leave open' + exempt-pr-label: 'leave open' + days-before-stale: 90 + days-before-close: 14 + operations-per-run: 7