fix: show error message instead of throw during Purchase Invoice name validation (backport #2864) #5105
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: Semantic Commits | |
on: | |
pull_request: {} | |
permissions: | |
contents: read | |
concurrency: | |
group: commitcheck-frappe-${{ github.event.number }} | |
cancel-in-progress: true | |
jobs: | |
commitlint: | |
name: Check Commit Titles | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 200 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
check-latest: true | |
- name: Check commit titles | |
run: | | |
npm install @commitlint/cli @commitlint/config-conventional | |
npx commitlint --verbose --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} |