Skip to content

As per WordPress guidelines, no longer using "trunk" as stable tag. #76

As per WordPress guidelines, no longer using "trunk" as stable tag.

As per WordPress guidelines, no longer using "trunk" as stable tag. #76

Workflow file for this run

name: WordPress Coding Standards
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
jobs:
phpcs:
name: WPCS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: WPCS check
uses: 10up/wpcs-action@stable
with:
standard: 'WordPress'
extra_args: '--report-json=./phpcs.json'
- name: Update summary
run: |
npm i -g github:10up/phpcs-json-to-md
phpcs-json-to-md --path ./phpcs.json --output ./phpcs.md
cat phpcs.md >> $GITHUB_STEP_SUMMARY
if: always()