From f3735abbc369ca893f40d79f844616de2d744af5 Mon Sep 17 00:00:00 2001 From: Mohsin Zaidi <2236875+smrz2001@users.noreply.github.com> Date: Sat, 4 Nov 2023 01:16:24 -0400 Subject: [PATCH] fix: use correct gh syntax for checking absent selector --- .github/workflows/schedule-durable.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/schedule-durable.yml b/.github/workflows/schedule-durable.yml index 872de481..6a52f6e0 100644 --- a/.github/workflows/schedule-durable.yml +++ b/.github/workflows/schedule-durable.yml @@ -91,10 +91,10 @@ jobs: # "workflow_dispatch" API call. DURABLE_TEST_BRANCH: ${{ steps.get_branch.outputs.branch }} run: | - # For scheduled events, "test_selector" will be null. Run all tests for QA but only "fast" ones for other envs. + # For scheduled events, "test_selector" will be null. Run all tests for QA but only "fast" ones for other + # envs. test_selector=${{ github.event.inputs.test_selector || '.' }} - - if [[ -z ${{ github.event.inputs.test_selector }} ]]; then + if [[ ${{ github.event.inputs.test_selector == null }} ]]; then if [[ ${{ matrix.network != 'qa' }} ]]; then test_selector="fast" fi