diff --git a/.github/workflows/publish-docs-to-s3.yml b/.github/workflows/publish-docs-to-s3.yml index cebcdafac8728..fdd6ea6b1be15 100644 --- a/.github/workflows/publish-docs-to-s3.yml +++ b/.github/workflows/publish-docs-to-s3.yml @@ -88,7 +88,7 @@ jobs: AIRFLOW_VERSION: ${{ inputs.airflow-version || '' }} APPLY_COMMITS: ${{ inputs.apply-commits || '' }} outputs: - include-docs: ${{ inputs.include-docs == 'all' && '' || inputs.include-docs }} + include-docs: ${{ case(inputs.include-docs == 'all', '', inputs.include-docs) }} destination-location: ${{ steps.parameters.outputs.destination-location }} destination: ${{ steps.parameters.outputs.destination }} extra-build-options: ${{ steps.parameters.outputs.extra-build-options }} diff --git a/.github/workflows/run-unit-tests.yml b/.github/workflows/run-unit-tests.yml index 9417049bd5f5a..b963fc9e1ccf0 100644 --- a/.github/workflows/run-unit-tests.yml +++ b/.github/workflows/run-unit-tests.yml @@ -136,8 +136,8 @@ jobs: timeout-minutes: 65 # yamllint disable rule:line-length name: "\ - ${{ inputs.test-scope == 'All' && '' || inputs.test-scope == 'Quarantined' && 'Qrnt' || inputs.test-scope }}\ - ${{ inputs.test-scope == 'All' && '' || '-' }}\ + ${{ case(inputs.test-scope == 'Quarantined', 'Qrnt', inputs.test-scope == 'All', '', inputs.test-scope) }}\ + ${{ case(inputs.test-scope == 'All', '', '-') }}\ ${{ inputs.test-group == 'providers' && 'prov' || inputs.test-group}}:\ ${{ inputs.test-name }}${{ inputs.test-name-separator }}${{ matrix.backend-version }}:\ ${{ matrix.python-version}}:${{ matrix.test-types.description }}"