chore(deps-dev): bump commitizen from 3.29.1 to 3.30.0 #216
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: Check pull requests | |
on: | |
push: | |
branches-ignore: # Run the checks on all branches but the protected ones | |
- main | |
- release/* | |
pull_request_target: | |
branches: | |
- main | |
- release/* | |
types: | |
- opened | |
- edited | |
- reopened | |
- ready_for_review | |
jobs: | |
check-conventional-commits: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
sparse-checkout: | | |
.github | |
- if: ${{ github.event_name == 'pull_request_target' }} | |
run: | | |
set -ex | |
node .github/workflows/conventional-commits-lint.js pr <<EOF | |
${{ toJSON(github.event) }} | |
EOF | |
- if: ${{ github.event_name == 'push' }} | |
run: | | |
set -ex | |
node .github/workflows/conventional-commits-lint.js push <<EOF | |
${{ toJSON(github.event) }} | |
EOF |