[CI SKIP] Automatically close issues if title information was not filled out

This commit is contained in:
arkon 2020-05-17 16:09:58 -04:00
parent 11ac392755
commit 5a08ce9dca
5 changed files with 20 additions and 15 deletions

View File

@ -1,6 +1,6 @@
---
name: "🌟 Feature request"
title: "[Feature Request] <source name>: <short description>"
title: "[Feature Request] <Source Name>: <short description>"
about: "Suggest a feature to improve a source"
labels: "enhancement"
---
@ -14,6 +14,7 @@ I acknowledge that:
- If this is an issue with the app itself, that I should be opening an issue in https://github.com/inorichi/tachiyomi
- I have searched the existing issues for duplicates
- For source requests, I have checked the list of existing extensions including the multi-source spreadsheet: https://tachiyomi.org/extensions/
- I will fill out the title and the information in this template
**DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT**

View File

@ -1,6 +1,6 @@
---
name: "🧠 Meta feature request"
title: "[Meta]"
title: "[Meta] <short description>"
about: "Suggest improvements to the project"
labels: "meta"
---
@ -14,6 +14,7 @@ I acknowledge that:
- If this is an issue with the app itself, that I should be opening an issue in https://github.com/inorichi/tachiyomi
- I have searched the existing issues for duplicates
- For source requests, I have checked the list of existing extensions including the multi-source spreadsheet: https://tachiyomi.org/extensions/
- I will fill out the title and the information in this template
**DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT**

View File

@ -1,6 +1,6 @@
---
name: "🐞 Bug report"
title: "[Bug] Source Name : Short Description"
title: "[Bug] <Source Name>: <short description>"
about: "Report a bug"
labels: "bug"
---
@ -14,6 +14,7 @@ I acknowledge that:
- If this is an issue with the app itself, that I should be opening an issue in https://github.com/inorichi/tachiyomi
- I have searched the existing issues for duplicates
- For source requests, I have checked the list of existing extensions including the multi-source spreadsheet: https://tachiyomi.org/extensions/
- I will fill out the title and the information in this template
**DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT**

View File

@ -1,6 +1,6 @@
---
name: "Source Request"
title: "[Source Request] Source Name"
title: "[Source Request] <Source Name>"
about: "Suggest a new source for Tachiyomi"
labels: "Source Request"
---
@ -14,6 +14,7 @@ I acknowledge that:
- If this is an issue with the app itself, that I should be opening an issue in https://github.com/inorichi/tachiyomi
- I have searched the existing issues for duplicates
- For source requests, I have checked the list of existing extensions including the multi-source spreadsheet: https://tachiyomi.org/extensions/
- I will fill out the title and the information in this template
**DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT**

View File

@ -1,12 +1,13 @@
name: Issue closer
on: [issues]
jobs:
autoclose:
runs-on: ubuntu-latest
steps:
- name: Autoclose issue
uses: arkon/issue-closer-action@v1.0
with:
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."
name: Issue closer
on: [issues]
jobs:
autoclose:
runs-on: ubuntu-latest
steps:
- name: Autoclose issue
uses: arkon/issue-closer-action@v1.0
with:
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."
issue-title-pattern: ".*(Source Name|short description).*"
issue-body-pattern: ".*DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT.*"