Skip to content

fix: Fix #1174 expression-can-be-simplified raised for == 0 #172

fix: Fix #1174 expression-can-be-simplified raised for == 0

fix: Fix #1174 expression-can-be-simplified raised for == 0 #172

Workflow file for this run

name: PR Title Check
on:
pull_request:
types: [opened, edited, synchronize, reopened]
jobs:
lint-pr-title:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
feat
fix
docs
style
refactor
perf
test
build
ci
chore
revert
requireScope: false
subjectPattern: ^.+$
subjectPatternError: |
PR title must follow conventional commits format:
type: description
Example: feat: add new validation rule