Skip to content

chore: update release to use Node 20 (#45) #40

chore: update release to use Node 20 (#45)

chore: update release to use Node 20 (#45) #40

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