-
We want to not run cirrus in PRs as free quota is quickly exceeded. And we have bunch of PRs. |
Beta Was this translation helpful? Give feedback.
Answered by
fkorotkov
Mar 19, 2024
Replies: 1 comment 5 replies
-
You can put the following # .cirrus.yml
only_if: $CIRRUS_BRANCH == $CIRRUS_DEFAULT_BRANCH
task1:
...
task2:
... This way you'll pnly run tasks on the default branch (either |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
romani
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can put the following
only_if
statement in your.cirrus.yml
:This way you'll pnly run tasks on the default branch (either
master
ormain
depending on your settings).