From f5aa55a1db9eca4160c9f17f8d4dc2e0dd8eafef Mon Sep 17 00:00:00 2001 From: samwiseg0 <2241731+samwiseg0@users.noreply.github.com> Date: Tue, 15 Dec 2020 23:25:36 -0500 Subject: [PATCH] Update workflows --- .github/workflows/invalid_template.yml | 19 +++++++++++++++++++ .github/workflows/support.yml | 25 +++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/.github/workflows/invalid_template.yml b/.github/workflows/invalid_template.yml index e69de29..c98d317 100644 --- a/.github/workflows/invalid_template.yml +++ b/.github/workflows/invalid_template.yml @@ -0,0 +1,19 @@ +name: 'Invalid Template' + +on: + issues: + types: [labeled, unlabeled, reopened] + +jobs: + support: + runs-on: ubuntu-latest + steps: + - uses: dessant/support-requests@v2 + with: + github-token: ${{ github.token }} + support-label: 'invalid:template-incomplete' + issue-comment: > + :wave: @{issue-author}, please edit your issue and follow the template provided. + close-issue: false + lock-issue: true + issue-lock-reason: 'resolved' diff --git a/.github/workflows/support.yml b/.github/workflows/support.yml index e69de29..df74c10 100644 --- a/.github/workflows/support.yml +++ b/.github/workflows/support.yml @@ -0,0 +1,25 @@ +name: 'Support Request' + +on: + issues: + types: [labeled, unlabeled, reopened] + +jobs: + support: + runs-on: ubuntu-latest + steps: + - uses: dessant/support-requests@v2 + with: + github-token: ${{ github.token }} + support-label: 'support' + issue-comment: > + :wave: @{issue-author}, we use the issue tracker exclusively + for bug reports and feature requests. However, this issue appears + to be a support request. Please use our support channels + to get help with Varken! + + - [Discord](https://discord.gg/VjZ6qSM) + - [Discord Quick Access](http://cyborg.decreator.dev/channels/518970285773422592/530424560504537105/) + close-issue: true + lock-issue: false + issue-lock-reason: 'off-topic'