ci: Cypress-only-fixes label workflow fix-IV (#24983)
## Description - This PR fixes the Add Cypress-Only-Fixes Label on PR Merge workflow
This commit is contained in:
parent
7b840f0c86
commit
70b3f62ae7
4
.github/workflows/add-label.yml
vendored
4
.github/workflows/add-label.yml
vendored
|
|
@ -23,10 +23,10 @@ jobs:
|
|||
id: check_files_changed
|
||||
run: |
|
||||
filesChangedCount=$(echo "${{ steps.files.outputs.files_changed }}" | wc -l)
|
||||
if [[ $filesChangedCount -gt 0 ]]; then
|
||||
if [[ "$filesChangedCount" -gt 0 ]]; then
|
||||
echo "::set-output name=files_changed_count::$filesChangedCount"
|
||||
else
|
||||
echo "No files changed in the specified folder."
|
||||
echo "No files changed in the specified folder"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user