From 37c379ddc53f68808809e92a98e329f6c9a6fb2e Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 24 Aug 2020 19:41:22 -0400 Subject: [PATCH] stale-issue-bot: Enable github actions to handle stale issues Signed-off-by: Kevin O'Connor --- .github/workflows/stale-issue-bot.yaml | 31 ++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/stale-issue-bot.yaml diff --git a/.github/workflows/stale-issue-bot.yaml b/.github/workflows/stale-issue-bot.yaml new file mode 100644 index 00000000..e33236a9 --- /dev/null +++ b/.github/workflows/stale-issue-bot.yaml @@ -0,0 +1,31 @@ +# Enable the github stale issue bot tracker +name: "Close stale issues" +on: + schedule: + - cron: "0 0 * * *" +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: | + Hello, + + It looks like there hasn't been any recent updates on this + Klipper github issue. If you created this issue and no + longer consider it open, then please login to github and + close the issue. Otherwise, if there is no further activity + on this thread then it will be automatically closed in a few + days. + + Best regards, + + ~ Your friendly GitIssueBot + + PS: I'm just an automated script, not a human being. + + exempt-issue-labels: 'enhancement,bug' + days-before-stale: 21 + days-before-close: 7