ACS-8920 Fix pre-commit for empty commits (#1035)

* ACS-8920 Test empty commit

* ACS-8920 Test empty commit

* ACS-8920 Test empty commit

* ACS-8920 Test empty commit

* ACS-8920 Pre-commit job should fail

* Revert "ACS-8920 Pre-commit job should fail"

This reverts commit 80516b76d4.

* ACS-8920 Test empty commit

* ACS-8920 Remove temporary condition
This commit is contained in:
Damian Ujma
2024-10-29 09:15:00 +01:00
committed by GitHub
parent 39bc4613c4
commit 22abe079e9
2 changed files with 6 additions and 5 deletions

View File

@@ -7,6 +7,12 @@ else
modified_files=${GITHUB_MODIFIED_FILES}
fi
if [[ -z ${modified_files} ]]
then
echo "No modified files, exiting."
exit 0
fi
include_list=""
for file in ${modified_files}
do