Skip to content

build: change to strict versions #265

build: change to strict versions

build: change to strict versions #265

Workflow file for this run

name: PR Linter
on:
pull_request:
types: ['opened', 'edited', 'reopened', 'synchronize']
# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pr_name_lint:
name: PR Name Linter
runs-on: ubuntu-latest
if: startsWith( github.repository, 'elementor/' )
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Install Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install Dependencies
run: npm install -g @commitlint/config-conventional@19.8.1 @commitlint/cli@19.8.1
- name: Run PR name linter
run: echo "$TITLE" | npx commitlint
env:
TITLE: ${{ github.event.pull_request.title }}