From 45916aef50206a8fd7613224cc5d7e52d9f3ef0e Mon Sep 17 00:00:00 2001 From: Zack Date: Thu, 12 Sep 2019 12:15:21 -0400 Subject: [PATCH] Add DS issue workflow --- .github/workflows/main.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..7ec49a2a --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,12 @@ +name: Discord Source detection +on: [issues] +jobs: + autoclose: + runs-on: ubuntu-latest + steps: + - name: Autoclose Discord Source issues + uses: IndyV/IssueChecker@v1.0 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-close-message: "@${issue.user.login} This issue was automatically closed because we don't accept issue reports from Discord Source.\nThe reason for this is because usually these issues aren't well thought out and are often duplicates.\n\nPlease take a few more minutes to create a well-made issue report using the provided report template." + issue-pattern: "Discord Source - .Issue Report]"