Internal: Floating Buttons - variation 9 #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |