Exit successfully on no changes (#98)

This commit is contained in:
Simon Sprankel
2023-08-15 15:39:07 +02:00
committed by GitHub
parent fcaf3e4ed2
commit 19d95ee260
+1 -1
View File
@@ -83,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|\.html|\.xml" ${{ 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 || exit 0
- name: Checkout - Before Merge
shell: bash