mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-08 19:46:41 +00:00
Exit successfully on no changes (#98)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user