mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
15 lines
412 B
YAML
15 lines
412 B
YAML
name: 'PR title check'
|
|
on:
|
|
pull_request:
|
|
types: [opened, edited, reopened]
|
|
|
|
jobs:
|
|
check-pr-title:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: morrisoncole/pr-lint-action@v1.4.1
|
|
with:
|
|
title-regex: '^((CORDA|AG|EG|ENT|INFRA|NAAS)-\d+|NOTICK)(.*)'
|
|
on-failed-regex-comment: "PR title failed to match regex -> `%regex%`"
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|