Skip to content

fix: allow lists construction #1530

fix: allow lists construction

fix: allow lists construction #1530

Workflow file for this run

name: Validate Conventional Commit title
on:
pull_request:
types: [opened, edited, synchronize, reopened]
permissions:
contents: read
jobs:
validate:
runs-on: cx-public-ubuntu-x64
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
env:
PR_TITLE: ${{ github.event.pull_request.title }}
run: |
echo "$PR_TITLE" | commitlint