Skip to content

Omit changelog from autoloaded option with plugin api data and exclude invalid plugins #15784

Omit changelog from autoloaded option with plugin api data and exclude invalid plugins

Omit changelog from autoloaded option with plugin api data and exclude invalid plugins #15784

Workflow file for this run

on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- master
pull_request:
types: [ opened, labeled, synchronize ]
name: Inspections
jobs:
runPHPCSInspection:
if: contains(github.event.pull_request.labels.*.name, 'run analysis')
name: Run PHPCS inspection
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Install dependencies
run: composer install --dev --prefer-dist --no-progress
- name: Register custom PHPCS sniffs
run: |
CURRENT_PATHS=$(./vendor/bin/phpcs --config-show | grep 'installed_paths' | cut -d' ' -f2)
./vendor/bin/phpcs --config-set installed_paths "$CURRENT_PATHS,../../../phpcs-sniffs"
- name: PHPCS check
run: ./vendor/bin/phpcs --parallel=10 ./