From c25655fcfa9504d575f633281f80e28e7f52194d Mon Sep 17 00:00:00 2001 From: James Mills <1290234+prologic@users.noreply.github.com> Date: Sun, 26 Jan 2020 13:30:23 +1000 Subject: [PATCH] Create stale.yml --- .github/workflows/stale.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 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..32ded93 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,29 @@ +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 gone stale and has been automatically closed. + + If this is incorrect, please reopen and add the label `on hold`. + + Thank you. + stale-pr-message: |- + This Pull Request has gone stale and has been automatically closed. + + If this is incorrect, please reopen and add the label `on hold`. + + Thank you. + stale-issue-label: 'stale' + exempt-issue-label: 'on hold' + stale-pr-label: 'stale' + exempt-pr-label: 'on hold'