From 4dd0966b7c7d18ce7246dd661d19fe7a62afcb3c Mon Sep 17 00:00:00 2001 From: Victoria Drake <24644237+victoriadrake@users.noreply.github.com> Date: Sat, 29 Feb 2020 16:48:06 -0500 Subject: [PATCH] Create stale.yml --- .github/workflows/stale.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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..52d6785 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,21 @@ +name: Mark and close 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: 'It looks like this has been idle a while, so I am marking it as stale. Remove the label or comment if this issue should remain open.' + stale-pr-message: 'It looks like this PR has been idle a while, so I am marking it as stale. Remove the label or comment if this is still being worked on.' + stale-issue-label: 'no-activity' + stale-pr-label: 'no-activity' + days-before-stale: 30 + days-before-close: 5