Skip to content

chore(release): 3.0.1 #39

chore(release): 3.0.1

chore(release): 3.0.1 #39

name: 'Check Commit Message'
on:
pull_request:
types:
- opened
- edited
- reopened
- synchronize
push:
branches:
- master
jobs:
check-commit-message:
name: Check Commit Message
runs-on: ubuntu-latest
steps:
- name: Commit begins with supported commit type
uses: gsactions/commit-message-checker@v1
with:
pattern: '^(feat|fix|docs|style|refactor|test|chore).+'
error: 'Commit messages must begin with a valid commit type. See "Commit Style" under CONTRIBUTING.md for more details.'
excludeDescription: 'true'
excludeTitle: 'true'
checkAllCommitMessages: 'true'
accessToken: ${{ secrets.GITHUB_TOKEN }}