diff --git a/.github/workflows/_detect_changes.yml b/.github/workflows/_detect_changes.yml index 7cb82d3..8c9cb8b 100644 --- a/.github/workflows/_detect_changes.yml +++ b/.github/workflows/_detect_changes.yml @@ -72,7 +72,7 @@ jobs: clean: false - name: Generate summary - if: ${{inputs.backend_directories != ''}} | ${{inputs.frontend_directories != ''}} | ${{inputs.infrastructure_directories != ''}} + if: ${{ inputs.backend_directories != '' || inputs.frontend_directories != '' || inputs.infrastructure_directories != '' }} run: | echo "### Detect Changes summary" >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY diff --git a/workflows/_detect_changes.yml b/workflows/_detect_changes.yml index 7cb82d3..8c9cb8b 100644 --- a/workflows/_detect_changes.yml +++ b/workflows/_detect_changes.yml @@ -72,7 +72,7 @@ jobs: clean: false - name: Generate summary - if: ${{inputs.backend_directories != ''}} | ${{inputs.frontend_directories != ''}} | ${{inputs.infrastructure_directories != ''}} + if: ${{ inputs.backend_directories != '' || inputs.frontend_directories != '' || inputs.infrastructure_directories != '' }} run: | echo "### Detect Changes summary" >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY