Modernize #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint Commit Messages | |
on: | |
# Trigger the workflow on push or pull request, | |
# but only for the main branch | |
# See: https://gh.neting.ccmunity/t/duplicate-checks-on-push-and-pull-request-simultaneous-event/18012 | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
commitlint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
# TODO: v5 requires lerna 5.0.0 | |
- uses: wagoid/commitlint-github-action@v4 |