Skip to content

Commit

Permalink
Parens, and fix logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxColoring committed Jul 23, 2024
1 parent 72d4e5c commit 5bdaf68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/analyses-snapshot-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5bdaf68

Please sign in to comment.