fix(minor): consider stock qty 0 if get_latest_stock_qty returns None (backport #528) #551
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: 18 | |
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 }} |