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'