Skip to content

readme update

readme update #16

Workflow file for this run

name: WPCS check
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
phpcs:
name: WPCS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: WPCS check
uses: 10up/wpcs-action@stable
with:
excludes: "vendor"
extra_args: "--report-json=./phpcs.json"
standard: "WordPress-Extra"
use_local_config: "true"
- 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()