Skip to content

Commit

Permalink
CI: fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
DriesSchaumont committed Apr 24, 2024
1 parent 55af850 commit bdae7c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:

steps:
- name: Do not allow manual trigger if the branch is main
if: !inputs.is_workflow_call && github.ref == 'refs/heads/main'
if: ${{ !inputs.is_workflow_call && github.ref == 'refs/heads/main' }}
run: |
echo "This workflow should not be triggered with workflow_dispatch from the main branch"
exit 1
Expand Down

0 comments on commit bdae7c3

Please sign in to comment.