Skip to content

Chore/update eslint dependencies (#43) #37

Chore/update eslint dependencies (#43)

Chore/update eslint dependencies (#43) #37

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 }}