This workflow checks the commit messages on a branch to ensure they follow the Conventional Commits specification.
| Input | Description | Default |
|---|---|---|
target_branch |
The branch to check against. All commits on the current branch that are not on the target branch will be checked. | 'main' |
name: Check commit messages
on:
pull_request:
concurrency:
group: pr-${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
check_commit_messages:
uses: dfinity/ci-tools/.github/workflows/check-commit-messages.yaml@main
with:
target_branch: 'develop'