From 27f642276c7a1d35c330159cb5359d3e420e0297 Mon Sep 17 00:00:00 2001 From: Simon Li Date: Fri, 29 Oct 2021 14:04:50 +0100 Subject: [PATCH] Add support-bot --- .github/workflows/support-bot.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/support-bot.yml diff --git a/.github/workflows/support-bot.yml b/.github/workflows/support-bot.yml new file mode 100644 index 0000000..b2b75af --- /dev/null +++ b/.github/workflows/support-bot.yml @@ -0,0 +1,31 @@ +# https://github.com/dessant/support-requests +name: 'Support Requests' + +on: + issues: + types: [labeled, unlabeled, reopened] + +permissions: + issues: write + +jobs: + action: + runs-on: ubuntu-latest + steps: + - uses: dessant/support-requests@v2 + with: + github-token: ${{ github.token }} + support-label: 'support' + issue-comment: | + Hi there @{issue-author} :wave:! + + I closed this issue because it was labelled as a support question. + + Please help us organize discussion by posting this on the http://discourse.jupyter.org/ forum. + + Our goal is to sustain a positive experience for both users and developers. We use GitHub issues for specific discussions related to changing a repository's content, and let the forum be where we can more generally help and inspire each other. + + Thanks you for being an active member of our community! :heart: + close-issue: true + lock-issue: false + issue-lock-reason: 'off-topic'