Skip to content

Commit

Permalink
[#3] Deaktivate draft handling on Cirrus CI
Browse files Browse the repository at this point in the history
  • Loading branch information
elBoberido committed Dec 23, 2024
1 parent 4fc172a commit 218d291
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ env:
# Filter to run the CI only on the main branch or for pull request to the main branch
#

only_if: $CI_ENABLED && !$CIRRUS_PR_DRAFT && ( $CIRRUS_BRANCH == 'main' || ($CIRRUS_PR != '' && $CIRRUS_BASE_BRANCH == 'main'))
# TODO: check why !$CIRRUS_PR_DRAFT breaks the CI on the main branch
only_if: $CI_ENABLED && ( $CIRRUS_BRANCH == 'main' || ($CIRRUS_PR != '' && $CIRRUS_BASE_BRANCH == 'main'))

#
# Templates
Expand Down

0 comments on commit 218d291

Please sign in to comment.