ci: do not run check on main branch, make publish call it #8
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: Check Commits with CommitLint | |
on: | |
- pull_request | |
jobs: | |
commitlint: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: read | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: wagoid/commitlint-github-action@v6 | |
with: | |
configFile: configs/commitlint.config.mjs |