(git): Added support-requests action for handling support and feedback request issues

This commit is contained in:
Jagandeep Brar
2021-03-24 09:05:00 -05:00
parent 5cad84f720
commit b0b6fa55a0
2 changed files with 52 additions and 0 deletions

25
.github/workflows/feature_request.yml vendored Normal file
View File

@@ -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'

27
.github/workflows/support.yml vendored Normal file
View File

@@ -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'