From 19e4478ad515079e8f35155e73caad6664eca775 Mon Sep 17 00:00:00 2001 From: Luiz Gonzaga dos Santos Filho Date: Sat, 14 Mar 2020 11:07:35 -0700 Subject: [PATCH] Add github action for stale issues --- .github/workflows/stale.yml | 15 +++++++++++++++ 1 file changed, 15 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 00000000..4f81523b --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,15 @@ +name: "Close stale issues" +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 is stale because it has been open for 45 days with no activity. If no action is taken it will be closed in 10 days' + days-before-stale: 45 + days-before-close: 10