Skip to content

fix commit message check #220

fix commit message check

fix commit message check #220

Workflow file for this run

name: 'Commit Message Check'
on:
pull_request:
types:
- opened
- edited
- reopened
- synchronize
pull_request_target:
types:
- opened
- edited
- reopened
- synchronize
push:
branches:
- main
jobs:
check-commit-message:
name: Check Commit Message
runs-on: ubuntu-latest
steps:
- name: Check Commit Type
uses: gsactions/commit-message-checker@v1
with:
pattern: '^(Refs|Fixes) #RHINENG-[0-9]+ - .+$'
error: 'Commit message should start with "Fixes #RHINENG-<issue number> - "'