Skip to content

Merge branch 'wpengine-trunk-1.0.5' into trunk #24

Merge branch 'wpengine-trunk-1.0.5' into trunk

Merge branch 'wpengine-trunk-1.0.5' into trunk #24

Workflow file for this run

on:
push:
branches:
- main
- trunk
# Do not run on auto submitted branches
- '!**-phpcbf'
- '!renovate/**'
- '!dependabot/**'
- '!release-please--branches**'
paths:
- '.github/workflows/**'
- '**.php'
pull_request:
branches:
# Do not run on auto submitted branches
- '!**-phpcbf'
- '!renovate/**'
- '!dependabot/**'
- '!release-please--branches**'
paths:
- '**.php'
name: WordPress Coding Standards Inspections
jobs:
runPHPCSInspection:
name: Run PHPCS inspection
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Run PHPCS inspection
uses: rtCamp/[email protected]
env:
GH_BOT_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
SKIP_FOLDERS: ".deployment,.github,assets,.husky,css,js,lib,vendor"
PHPCS_STANDARD_FILE_NAME: "./phpcs.xml"
with:
args: "WordPress,WordPress-Core,WordPress-Extra"