Update pr.yml

This commit is contained in:
Owain van Brakel
2019-11-23 23:50:25 +01:00
committed by GitHub
parent 34432d66a7
commit c18791b18f

View File

@@ -12,11 +12,9 @@ jobs:
steps:
- name: PR title lint
if: github.event_name == 'pull_request'
uses: seferov/pr-lint-action@master
uses: seferov/pr-lint-action@v1.0.3
with:
title-regex: '^([\w-/]+): \w+'
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-close-message: 'Closing this pull request since the title does not match %pattern% pattern. Please fix the title and re-open the pull request.'
build:
runs-on: ubuntu-latest