From 70b3f62ae72ba01cdf6999ef52fbb5a4a219bd7e Mon Sep 17 00:00:00 2001 From: Aishwarya-U-R <91450662+Aishwarya-U-R@users.noreply.github.com> Date: Sat, 1 Jul 2023 00:50:22 +0530 Subject: [PATCH] ci: Cypress-only-fixes label workflow fix-IV (#24983) ## Description - This PR fixes the Add Cypress-Only-Fixes Label on PR Merge workflow --- .github/workflows/add-label.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/add-label.yml b/.github/workflows/add-label.yml index 046ac3a2a1..5e84e47955 100644 --- a/.github/workflows/add-label.yml +++ b/.github/workflows/add-label.yml @@ -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