Skip to content

fix: Enable pre-commit CI workflow on pull requests #6

fix: Enable pre-commit CI workflow on pull requests

fix: Enable pre-commit CI workflow on pull requests #6

Workflow file for this run

name: Check PR Title
on: pull_request
jobs:
check-pr-title:
runs-on: ubuntu-latest
steps:
- name: Check PR Title
uses: Slashgear/action-check-pr-title@main
with:
regexp: '(break|build|ci|docs|feat|fix|perf|refactor|style|test|ops|hotfix|release|maint|init|enh|revert)\([a-z,A-Z,0-9,\-,\_,\/,:]+\)(:)\s{1}([\w\s]+)' # Regex the title should match.