Skip to content

chore(deps): Bump ws from 8.17.0 to 8.17.1 in /frontend #10

chore(deps): Bump ws from 8.17.0 to 8.17.1 in /frontend

chore(deps): Bump ws from 8.17.0 to 8.17.1 in /frontend #10

name: "Lint PR title"
on:
pull_request_target:
types:
- opened
- edited
- synchronize
branches:
- 'main'
jobs:
lint:
if: ${{ github.head_ref != 'main' }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: npm install @commitlint/cli @commitlint/config-conventional
- name: Validate PR title
run: |
PR_TITLE=$(jq -r '.pull_request.title' "$GITHUB_EVENT_PATH")
echo "$PR_TITLE" | npx commitlint --config commitlint.config.js