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:
Aishwarya-U-R 2023-07-01 00:50:22 +05:30 committed by GitHub
parent 7b840f0c86
commit 70b3f62ae7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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