ES-1485 PR and Branch housekeeping automation dry run #2589
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'PR title check' | |
on: | |
pull_request: | |
types: [opened, edited, reopened] | |
jobs: | |
check-pr-title: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: morrisoncole/[email protected] | |
with: | |
title-regex: '^((CORDA|EG|ENT|INFRA|CORE|DOC|ES)-\d+)(.*)' | |
on-failed-regex-comment: "PR title failed to match regex -> `%regex%`" | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" |