Skip to content

Commit e58b66a

Browse files
committed
Dry run on non-default branch
1 parent a09f4f7 commit e58b66a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
name: "${{ startsWith(github.ref, 'refs/tags/') && 'Build and Release' || 'Dry Run' }}"
2020
if: |
2121
startsWith(github.ref, 'refs/tags/') ||
22-
github.ref_name == github.event.repository.default_branch ||
22+
github.ref_name != github.event.repository.default_branch ||
2323
(github.event.pull_request.base.ref == github.event.repository.default_branch && github.event.label.name == 'approved-for-cd')
2424
uses: ecmwf/reusable-workflows/.github/workflows/main-cd.yml@cd-conda-boa-removal
2525
with:

0 commit comments

Comments
 (0)