feat: add context cancellation support to Scan API and filter whitespace-only findings #1457
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: Validate Conventional Commit title | |
| on: | |
| pull_request: | |
| types: [opened, edited, synchronize, reopened] | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: install commitlint | |
| run: npm install -g @commitlint/cli @commitlint/config-conventional | |
| - name: config commitlint | |
| run: | | |
| echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js | |
| - name: validate PR title | |
| run: | | |
| echo ${{ github.event.pull_request.title }} | commitlint |