diff --git a/.github/ISSUE_TEMPLATE/issue-template.md b/.github/ISSUE_TEMPLATE/issue-template.md index 7eb3f7443..fcb164e1b 100644 --- a/.github/ISSUE_TEMPLATE/issue-template.md +++ b/.github/ISSUE_TEMPLATE/issue-template.md @@ -4,11 +4,40 @@ about: Issue template. title: '' labels: '' assignees: '' - --- - + + + +## Quick summary + + + +## Details + + + +### System Configuration: + +* OS +* CPU +* GPU +* etc. + +### Additional Information (if any): + \ No newline at end of file diff --git a/.github/workflows/autoclose.yml b/.github/workflows/autoclose.yml new file mode 100644 index 000000000..2dd1ce916 --- /dev/null +++ b/.github/workflows/autoclose.yml @@ -0,0 +1,16 @@ +on: + issues: + types: [opened, edited] + +jobs: + auto_close_issues: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Automatically close issues that don't follow the issue template + uses: ergo720/auto-close-issues@v1.0.4 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + issue-close-message: "@${issue.user.login}: your issue has been automatically closed because it does not follow the issue template." # optional property + closed-issues-label: "invalid" # optional property