Fix Code Sniff Action Change Detection (#40400)

* Adjusted PHPCS Workflow Change Detection

This _should_ hopefully fix the broken detection of
changed files for running the code sniffs.

* Change Test

* Core Change

* Removed Sniff Test
This commit is contained in:
Christopher Allford 2023-09-25 13:25:44 -07:00 committed by GitHub
parent 48834f88be
commit 9de59bf01f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -28,9 +28,7 @@ jobs:
id: changed-files
uses: tj-actions/changed-files@v32
with:
path: plugins/woocommerce
files: |
**/*.php
files: ./plugins/woocommerce/**/*.php
- name: Setup WooCommerce Monorepo
if: steps.changed-files.outputs.any_changed == 'true'