From 0932b1aa65d12d088122438831c7db8ef9ad173a Mon Sep 17 00:00:00 2001 From: Martin Wendt Date: Sat, 14 Mar 2020 17:40:01 +0100 Subject: [PATCH] Create stale.yml --- .github/workflows/stale.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 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..5c9953a --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,30 @@ +name: Mark stale issues and pull requests + +on: + schedule: + - cron: "0 0 * * *" + +jobs: + stale: + + runs-on: ubuntu-latest + + steps: + - uses: actions/stale@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: | + This issue 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. + 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. + stale-issue-label: 'stale' + exempt-issue-label: 'pinned' + stale-pr-label: 'stale' + exempt-pr-label: 'pinned' + days-before-stale: 90 + days-before-close: 14 + operations-per-run: 5