Skip to content

ci: add conventional commit lint check to PR titles #1

ci: add conventional commit lint check to PR titles

ci: add conventional commit lint check to PR titles #1

Workflow file for this run

name: Lint PR Title
on:
pull_request:
types: [opened, synchronize, edited]
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: "Install commitizen"
run: pip install --user -U commitizen
- name: "Lint the PR title"
env:
TITLE: ${{ github.event.pull_request.title }}
run: echo "${TITLE}" | cz check