[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" 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" about: "Suggest a feature to improve a source"
labels: "enhancement" 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 - 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 - 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/ - 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** **DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT**

View File

@ -1,6 +1,6 @@
--- ---
name: "🧠 Meta feature request" name: "🧠 Meta feature request"
title: "[Meta]" title: "[Meta] <short description>"
about: "Suggest improvements to the project" about: "Suggest improvements to the project"
labels: "meta" 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 - 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 - 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/ - 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** **DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT**

View File

@ -1,6 +1,6 @@
--- ---
name: "🐞 Bug report" name: "🐞 Bug report"
title: "[Bug] Source Name : Short Description" title: "[Bug] <Source Name>: <short description>"
about: "Report a bug" about: "Report a bug"
labels: "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 - 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 - 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/ - 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** **DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT**

View File

@ -1,6 +1,6 @@
--- ---
name: "Source Request" name: "Source Request"
title: "[Source Request] Source Name" title: "[Source Request] <Source Name>"
about: "Suggest a new source for Tachiyomi" about: "Suggest a new source for Tachiyomi"
labels: "Source Request" 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 - 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 - 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/ - 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** **DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT**

View File

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