Apply changes as per Simon comments

This commit is contained in:
kamleshluhana
2023-07-10 16:19:50 +05:30
parent fdd5cb7dad
commit 23492464b2
2 changed files with 1 additions and 8 deletions
-1
View File
@@ -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.
+1 -7
View File
@@ -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