Skip to content

Commit 7a118dc

Browse files
committed
I think spacing is important with bash.
1 parent 36b30b4 commit 7a118dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
steps:
2828
- name: Check if the branch is main for workflow dispatches
2929
run: |
30-
if ["${{ github.event_name }}" == "workflow_dispatch"] && [ "${{ github.ref }}" != "refs/heads/main" ]; then
30+
if [ "${{ github.event_name }}" == "workflow_dispatch" ] && [ "${{ github.ref }}" != "refs/heads/main" ]; then
3131
echo "This workflow can only run on the main branch. Exiting."
3232
exit 0
3333
fi

0 commit comments

Comments
 (0)