Skip to content

Internal: Core - Add writing contents permissions to automated continues release [ED-12498] #268

Internal: Core - Add writing contents permissions to automated continues release [ED-12498]

Internal: Core - Add writing contents permissions to automated continues release [ED-12498] #268

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@v3
- name: Install Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 18.x
- name: Install Dependencies
if: ${{ github.event.pull_request.title != null }}
run: npm install --no-package-lock --no-save @commitlint/config-conventional@12.1.1 @commitlint/cli@12.1.1
- name: Run PR name linter
if: ${{ github.event.pull_request.title != null }}
run: echo "${{ github.event.pull_request.title }}" | npx commitlint