Files
carpseeds.pl/wp-content/plugins/elementor-3.2.5-bck4/.github/workflows/pr-linter.yml
2024-07-15 11:28:08 +02:00

16 lines
503 B
YAML

name: PR Linter
on:
pull_request:
types: ['opened', 'edited', 'reopened', 'synchronize']
jobs:
pr_name_lint:
runs-on: ubuntu-latest
if: startsWith( github.repository, 'elementor/' )
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: npm install --no-package-lock --no-save @commitlint/config-conventional@12.1.1 @commitlint/cli@12.1.1
- name: Run PR name linter
run: echo "${{ github.event.pull_request.title }}" | npx commitlint