Add DS issue workflow

This commit is contained in:
Zack 2019-09-12 12:15:21 -04:00 committed by GitHub
parent 436a12cde8
commit 45916aef50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

12
.github/workflows/main.yml vendored Normal file
View File

@ -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]"