corda/.github/workflows/check-pr-title.yml

15 lines
403 B
YAML
Raw Normal View History

name: 'PR title check'
on:
pull_request:
types: [opened, edited, reopened]
jobs:
check-pr-title:
runs-on: ubuntu-latest
steps:
2024-03-29 12:09:56 +00:00
- uses: morrisoncole/pr-lint-action@v1.7.1
with:
title-regex: '^((CORDA|AG|EG|ENT|INFRA|ES)-\d+)(.*)'
on-failed-regex-comment: "PR title failed to match regex -> `%regex%`"
repo-token: "${{ secrets.GITHUB_TOKEN }}"