[CI SKIP] Update issue closer action

This commit is contained in:
arkon 2020-05-24 10:45:19 -04:00
parent ed4885143b
commit a953949873
1 changed files with 19 additions and 5 deletions

View File

@ -4,10 +4,24 @@ jobs:
autoclose: autoclose:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Autoclose issue - name: Autoclose when no source name or short description provided in title
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: ".*(Source Name|short description).*" regex: ".*<(Source Name|short description)>*"
issue-body-pattern: ".*DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT.*" 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|Name|Link|Extension version): \\?.*"
message: "@${issue.user.login} this issue was automatically closed because the requested information was not filled out."