actions: Change PR linter
This commit is contained in:
9
.github/workflows/pr.yml
vendored
9
.github/workflows/pr.yml
vendored
@@ -12,9 +12,14 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: PR title lint
|
- name: PR title lint
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
uses: seferov/pr-lint-action@v1.1.1
|
uses: morrisoncole/pr-lint-action@v1.4.1
|
||||||
with:
|
with:
|
||||||
title-regex: '^([\w-/ ]+): [\w ]+'
|
title-regex: '^([\w-/]+): \w+'
|
||||||
|
on-failed-regex-fail-action: false
|
||||||
|
on-failed-regex-request-changes: false
|
||||||
|
on-failed-regex-create-review: true
|
||||||
|
on-failed-regex-comment: "Your PR title should match the following regex: `%regex%`!"
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
validate:
|
validate:
|
||||||
name: Validate gradle wrapper
|
name: Validate gradle wrapper
|
||||||
|
|||||||
Reference in New Issue
Block a user