Skip to content

chore: refine cmd_exec.py #33

chore: refine cmd_exec.py

chore: refine cmd_exec.py #33

Workflow file for this run

name: pr-name-linter
on:
pull_request:
types: ['opened', 'edited', 'reopened', 'synchronize']
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Dependencies
run: |
npm install @commitlint/config-conventional
echo "module.exports = { extends: ['@commitlint/config-conventional'] };" > commitlint.config.js
- name: Lint the PR Title
run: |
echo "${PR_TITLE}" | npx --yes commitlint
env:
PR_TITLE: '${{ github.event.pull_request.title }}'