2023-03-01 12:04:48 +01:00
|
|
|
name: 'Check PR Title'
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
types: [opened, edited, reopened]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
check-pr-title:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: morrisoncole/pr-lint-action@v1.6.1
|
|
|
|
with:
|
2023-06-21 11:46:15 +02:00
|
|
|
title-regex: '^((CORDA|EG|ENT|INFRA|CORE|ES)-\d+)(.*)'
|
2023-03-01 12:04:48 +01:00
|
|
|
on-failed-regex-comment: "PR title failed to match regex -> `%regex%`"
|
|
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|