diff --git a/.github/workflows/ci_dbt_core_testing.yml b/.github/workflows/ci_dbt_core_testing.yml index 068581c7..343943f1 100644 --- a/.github/workflows/ci_dbt_core_testing.yml +++ b/.github/workflows/ci_dbt_core_testing.yml @@ -10,7 +10,7 @@ name: "Test Branches of dbt-core + dbt-common" run-name: >- - if [[ ${{ github.event_name }} == "workflow_dispatch" or ${{ github.event_name }} == "workflow_call"]]; then + if [[ ${{ github.event_name }} =~ ^(workflow_dispatch|workflow_call)$ ]]; then "Test dbt-core@${{ inputs.dbt-core-ref }} with dbt-common@${{ inputs.dbt-common-ref }}" else "Test dbt-core@main with dbt-common branch"