From e7aefad03914f02b208db3254d0fbe6a402ada6a Mon Sep 17 00:00:00 2001 From: GeopJr Date: Mon, 14 Mar 2022 20:53:28 +0200 Subject: [PATCH] chore(ci): rewrite autocloser response (#112) chore(issue_template): add a comment for clarity to bug_report --- .github/ISSUE_TEMPLATE/bug_report.md | 1 + .github/workflows/autocloser.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 1e18d05a..2106b791 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -24,6 +24,7 @@ A clear and concise description of what you expected to happen. Add screenshots here, you may remove this section if there are no screenshots applicable. **Logs** + ``` ``` diff --git a/.github/workflows/autocloser.yml b/.github/workflows/autocloser.yml index 54ea88a6..39678929 100644 --- a/.github/workflows/autocloser.yml +++ b/.github/workflows/autocloser.yml @@ -12,7 +12,7 @@ jobs: - name: Autoclose issue that does not follow template uses: actions/github-script@v6 env: - message: "this issue was automatically closed because it did not follow the issue template.\n\nIf you believe this is an error, please re-open it!" + message: "this issue was automatically closed because it did not follow the issue template.\n\nA moderator will reopen the issue if it is valid, otherwise it will be tagged with \"invalid\" afterwards." pattern: "(.*Describe the bug.*To Reproduce.*Expected behavior.*Logs.*Build.*)|(.*Is your feature request related to a problem. Please describe..*Describe the solution you'd like.*Provide Reasoning.*)" with: script: |