Skip to content

fixes the plugin update function that was removing the "enabled" flag… #115

fixes the plugin update function that was removing the "enabled" flag…

fixes the plugin update function that was removing the "enabled" flag… #115

Workflow file for this run

name: WordPress Coding Standards
on: pull_request
jobs:
phpcs:
name: Check Coding Standards
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: composer install --no-interaction --no-dev --no-progress
- name: WPCS check
uses: 10up/wpcs-action@stable
with:
standard: 'WordPress'
extra_args: '--report-json=./phpcs.json'
excludes: '.github/ tests/'
- name: Update summary
run: |
npx --yes github:10up/phpcs-json-to-md --path ./phpcs.json --output ./phpcs.md
cat phpcs.md >> $GITHUB_STEP_SUMMARY