chore(ci): rewrite autocloser response (#112)
chore(issue_template): add a comment for clarity to bug_report
This commit is contained in:
parent
a302c9ccf0
commit
e7aefad039
1
.github/ISSUE_TEMPLATE/bug_report.md
vendored
1
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@ -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.
|
Add screenshots here, you may remove this section if there are no screenshots applicable.
|
||||||
|
|
||||||
**Logs**
|
**Logs**
|
||||||
|
<!-- No logs or -->
|
||||||
```
|
```
|
||||||
<paste your logs here>
|
<paste your logs here>
|
||||||
```
|
```
|
||||||
|
2
.github/workflows/autocloser.yml
vendored
2
.github/workflows/autocloser.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
|||||||
- name: Autoclose issue that does not follow template
|
- name: Autoclose issue that does not follow template
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v6
|
||||||
env:
|
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.*)"
|
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:
|
with:
|
||||||
script: |
|
script: |
|
||||||
|
Reference in New Issue
Block a user