Skip to content

MauriceButler/check-pr-title

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Check PR Title

Github action to check a pull request title matches a given regex

Usage

name: PR-Validation

on:
    pull_request:
        branches: [main]
        types:
            - opened
            - reopened
            - edited
            - synchronize

jobs:
    pr-title-validation:
        runs-on: ubuntu-latest
        steps:
            - uses: mauricebutler/check-pr-title@v1
              with:
                  # check the PR starts with T-<number>:
                  regex: '^T\-\d+?: '
                  errorMessage: 'That does not match try again...'

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published