diff --git a/coding-standard-baseline/README.md b/coding-standard-baseline/README.md index b13a701..05843c8 100755 --- a/coding-standard-baseline/README.md +++ b/coding-standard-baseline/README.md @@ -27,7 +27,6 @@ jobs: php_version: 8.1 # Optional, will be used for Php version composer_version: 2 version: 31 # Optional, will use the latest if omitted. - path: app/code # Optional, will be used when event is not a pull request. severity: 8 # Optional, will use phpcs default of 5 if not specified. warning_severity: 4 # Optional, will use warning severity value if not specified. error_severity: 7 # Optional, will use error severity value if not specified. diff --git a/coding-standard-baseline/action.yml b/coding-standard-baseline/action.yml index 815c058..9b7f78f 100755 --- a/coding-standard-baseline/action.yml +++ b/coding-standard-baseline/action.yml @@ -15,12 +15,6 @@ inputs: default: "2" description: "The version of composer to use." - path: - type: string - required: true - default: 'app/code' - description: "The directory (relative to the project root) in which the coding standard will be checked. Used when the event is not a pull request." - version: type: string required: false @@ -89,7 +83,7 @@ runs: shell: bash run: | sed "s/ /\n/g" ${{ github.workspace }}/modified_files.txt > ${{ github.workspace }}/newline_file.txt - grep -iE "\.php|\.phtml" ${{ github.workspace }}/newline_file.txt > ${{ github.workspace }}/phpcs_files.txt + grep -iE "\.php|\.phtml|\.html|\.xml" ${{ github.workspace }}/newline_file.txt > ${{ github.workspace }}/phpcs_files.txt - name: Checkout - Before Merge shell: bash