mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 00:51:49 +01:00
[CI SKIP] Update issue closer action
This commit is contained in:
parent
af1935d2e4
commit
3d1dec4c05
2
.github/ISSUE_TEMPLATE/bug_report.md
vendored
2
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
name: "🐞 Bug report"
|
name: "🐞 Bug report"
|
||||||
about: Report a bug
|
about: Report a bug
|
||||||
title: "[Bug] Write short description here"
|
title: "[Bug] <Write short description here>"
|
||||||
labels: "bug"
|
labels: "bug"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
2
.github/ISSUE_TEMPLATE/feature_request.md
vendored
2
.github/ISSUE_TEMPLATE/feature_request.md
vendored
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
name: "🌟 Feature request"
|
name: "🌟 Feature request"
|
||||||
about: Suggest a feature to improve Tachiyomi
|
about: Suggest a feature to improve Tachiyomi
|
||||||
title: "[Feature Request] Write short description here"
|
title: "[Feature Request] <Write short description here>"
|
||||||
labels: "feature"
|
labels: "feature"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
31
.github/workflows/issue_closer.yml
vendored
31
.github/workflows/issue_closer.yml
vendored
@ -4,10 +4,31 @@ jobs:
|
|||||||
autoclose:
|
autoclose:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Autoclose issue
|
- name: Autoclose when created in wrong repo
|
||||||
uses: arkon/issue-closer-action@v1.0
|
uses: arkon/issue-closer-action@v1.1
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
issue-close-message: "@${issue.user.login} this issue was automatically closed because it was not filled in correctly or the acknowledgment section was not removed."
|
type: title
|
||||||
issue-title-pattern: ".*THIS ISSUE IS IN THE WRONG REPO.*"
|
regex: ".*THIS ISSUE IS IN THE WRONG REPO.*"
|
||||||
issue-body-pattern: ".*DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT.*"
|
message: "@${issue.user.login} this issue was automatically closed because it was not opened in the correct repo, as the template mentioned."
|
||||||
|
- name: Autoclose when no short description provided
|
||||||
|
uses: arkon/issue-closer-action@v1.1
|
||||||
|
with:
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
type: title
|
||||||
|
regex: ".*<Write short description here>*"
|
||||||
|
message: "@${issue.user.login} this issue was automatically closed because you did not fill out the description in the title."
|
||||||
|
- name: Autoclose when body acknowledgement section not removed
|
||||||
|
uses: arkon/issue-closer-action@v1.1
|
||||||
|
with:
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
type: body
|
||||||
|
regex: ".*DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT.*"
|
||||||
|
message: "@${issue.user.login} this issue was automatically closed because the acknowledgment section was not removed."
|
||||||
|
- name: Autoclose when body requested information not filled out
|
||||||
|
uses: arkon/issue-closer-action@v1.1
|
||||||
|
with:
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
type: body
|
||||||
|
regex: ".*\\* (Tachiyomi version|Android version|Device): \\?.*"
|
||||||
|
message: "@${issue.user.login} this issue was automatically closed because the requested information was not filled out."
|
Loading…
Reference in New Issue
Block a user