Update pr.yml
This commit is contained in:
6
.github/workflows/pr.yml
vendored
6
.github/workflows/pr.yml
vendored
@@ -1,6 +1,8 @@
|
|||||||
name: OpenOSRS - CI (PR)
|
name: OpenOSRS - CI (PR)
|
||||||
|
|
||||||
on: pull_request
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: ['opened', 'edited', 'reopened', 'synchronize']
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pr-lint:
|
pr-lint:
|
||||||
@@ -13,6 +15,8 @@ jobs:
|
|||||||
uses: seferov/pr-lint-action@master
|
uses: seferov/pr-lint-action@master
|
||||||
with:
|
with:
|
||||||
title-regex: '^([\w-/]+): \w+'
|
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:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user