Skip to content

Internal: Floating Buttons - variation 9 #21

Internal: Floating Buttons - variation 9

Internal: Floating Buttons - variation 9 #21

Workflow file for this run

name: PR Linter
on:
pull_request:
types: ['opened', 'edited', 'reopened', 'synchronize']
merge_group:
# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
pr_name_lint:
runs-on: ubuntu-latest
if: startsWith( github.repository, 'elementor/' )
steps:
- uses: actions/checkout@v4
- name: Install Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install Dependencies
if: ${{ github.event.pull_request.title != null }}
run: npm install --no-package-lock --no-save @commitlint/[email protected] @commitlint/[email protected]
- name: Run PR name linter
if: ${{ github.event.pull_request.title != null }}
run: echo "${{ github.event.pull_request.title }}" | npx commitlint