From b0b6fa55a07bee3211ea03ee936a0611d0566384 Mon Sep 17 00:00:00 2001 From: Jagandeep Brar Date: Wed, 24 Mar 2021 09:05:00 -0500 Subject: [PATCH] (git): Added support-requests action for handling support and feedback request issues --- .github/workflows/feature_request.yml | 25 +++++++++++++++++++++++++ .github/workflows/support.yml | 27 +++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 .github/workflows/feature_request.yml create mode 100644 .github/workflows/support.yml diff --git a/.github/workflows/feature_request.yml b/.github/workflows/feature_request.yml new file mode 100644 index 00000000..175185d1 --- /dev/null +++ b/.github/workflows/feature_request.yml @@ -0,0 +1,25 @@ +name: '[Issues] Feature Requests' + +on: + issues: + types: [labeled, unlabeled, reopened] + +jobs: + support: + runs-on: ubuntu-20.04 + steps: + - uses: dessant/support-requests@v2 + with: + github-token: ${{ github.token }} + support-label: 'feature request' + issue-comment: > + Hi @{issue-author}! We use the issue tracker exclusively + for bug reports and issues. However, this issue appears + to be a feature request. Please use the following channels: + + - [Feedback & Feature Requests Board](https://feedback.lunasea.app) + + - [Discord](https://www.lunasea.app/discord) + close-issue: true + lock-issue: true + issue-lock-reason: 'off-topic' diff --git a/.github/workflows/support.yml b/.github/workflows/support.yml new file mode 100644 index 00000000..63c82613 --- /dev/null +++ b/.github/workflows/support.yml @@ -0,0 +1,27 @@ +name: '[Issues] Support' + +on: + issues: + types: [labeled, unlabeled, reopened] + +jobs: + support: + runs-on: ubuntu-20.04 + steps: + - uses: dessant/support-requests@v2 + with: + github-token: ${{ github.token }} + support-label: 'support' + issue-comment: > + Hi @{issue-author}! We use the issue tracker exclusively + for bug reports and issues. However, this issue appears + to be a support request. Please use the following channels: + + - [Discord](https://www.lunasea.app/discord) + + - [GitHub Discussions](https://github.com/CometTools/LunaSea/discussions) + + - [Subreddit](https://www.lunasea.app/reddit) + close-issue: true + lock-issue: true + issue-lock-reason: 'off-topic'