From 45839d68ec942b8f98235e34536f2d3e31af6fcb Mon Sep 17 00:00:00 2001 From: Casey Lee Date: Fri, 28 Feb 2020 09:35:29 -0800 Subject: [PATCH] manage stale issues in GH actions --- .github/workflows/stale.yml | 18 ++++++++++++++++++ 1 file changed, 18 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 00000000000..715cf4af8ad --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,18 @@ +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: 'Issue is stale and will be closed in 7 days unless there is new activity' + stale-pr-message: 'PR is stale and will be closed in 7 days unless there is new activity' + stale-issue-label: 'meta/stale' + exempt-issue-label: 'meta/stale-exempt' + stale-pr-label: 'meta/stale' + exempt-pr-label: 'meta/stale-exempt'