Skip to content

Commit 3bde9d9

Browse files
committed
Fix condition
1 parent dc6d224 commit 3bde9d9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/ci_main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,9 @@ permissions:
2121
jobs:
2222
build-test-publish:
2323
name: "Build, test, publish"
24-
if: github.ref == 'refs/heads/main'
2524
uses: ./.github/workflows/ci_common.yml
2625
with:
2726
release: true
28-
enableAzdo: ${{ inputs.enableAzdo == '' && true || inputs.enableAzdo }}
27+
enableAzdo: ${{ github.event_name != 'workflow_dispatch' || inputs.enableAzdo }}
2928
secrets:
3029
AZDO_TOKEN: ${{ secrets.AZDO_TOKEN }}

0 commit comments

Comments
 (0)