Albirew/tachiyomi
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2024-03-02. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
tachiyomi/.github/workflows/issue_closer.yml

38 lignes
1,6 Kio
YAML
Brut Vue normale Historique

2020-04-09 01:36:36 +02:00
name: Issue closer
on:
issues:
types: [opened, edited, reopened]
2020-08-13 04:38:13 +02:00
2020-04-09 01:36:36 +02:00
jobs:
autoclose:
runs-on: ubuntu-latest
steps:
2020-05-24 16:40:30 +02:00
- name: Autoclose when created in wrong repo
uses: arkon/issue-closer-action@v1.1
2020-04-09 01:36:36 +02:00
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
2020-05-24 16:40:30 +02:00
type: title
regex: ".*THIS ISSUE IS IN THE WRONG REPO.*"
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): \\?.*"
2020-08-13 04:38:13 +02:00
message: "@${issue.user.login} this issue was automatically closed because the requested information was not filled out."