diff --git a/.github/workflows/wpcs.yml b/.github/workflows/wpcs.yml new file mode 100644 index 0000000..bbd3d36 --- /dev/null +++ b/.github/workflows/wpcs.yml @@ -0,0 +1,16 @@ +name: WPCS check + +on: pull_request + +jobs: + phpcs: + name: WPCS + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: WPCS check + uses: 10up/wpcs-action@stable + with: + enable_warnings: true + standard: 'WordPress-VIP-Go' + use_local_config: true