From 5bdaf68fffaf798b774aeb19aa335d394d62b045 Mon Sep 17 00:00:00 2001 From: Max Marrone Date: Tue, 23 Jul 2024 12:51:13 -0400 Subject: [PATCH] Parens, and fix logic. --- .github/workflows/analyses-snapshot-test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/analyses-snapshot-test.yaml b/.github/workflows/analyses-snapshot-test.yaml index 58cf8df911b..86f6ccab31c 100644 --- a/.github/workflows/analyses-snapshot-test.yaml +++ b/.github/workflows/analyses-snapshot-test.yaml @@ -40,7 +40,7 @@ jobs: # If we're running because of workflow_dispatch, use the user input to decide # whether to open a PR on failure. Otherwise, there is no user input, so always # open a PR on failure. - OPEN_PR_ON_FAILURE: ${{ github.event_name == 'workflow_dispatch' && github.events.inputs.OPEN_PR_ON_FAILURE || true }} + OPEN_PR_ON_FAILURE: ${{ (github.event_name == 'workflow_dispatch' && github.events.inputs.OPEN_PR_ON_FAILURE) || (github.event_name != 'workflow_dispatch') }} steps: - name: Checkout Repository