fix: use arg for MAKEFLAGS for overriding #346
Workflow file for this run
This file contains hidden or 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 PR title | |
| on: | |
| pull_request: | |
| types: [opened, edited, synchronize] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Validate conventional commit format | |
| env: | |
| TITLE: ${{ github.event.pull_request.title }} | |
| run: | | |
| PATTERN='^(feat|fix|refactor|docs|test|chore|ci|perf|build|revert)(\(.+\))?\!?: .+' | |
| if [[ ! "$TITLE" =~ $PATTERN ]]; then | |
| echo "::error::PR title must follow conventional commits: <type>[optional scope]: <description>" | |
| echo "::error::Allowed types: feat, fix, refactor, docs, test, chore, ci, perf, build, revert" | |
| echo "::error::Got: $TITLE" | |
| exit 1 | |
| fi |