Skip to content

Commit

Permalink
ci: forks can opt-out of CI branch push
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjors committed Feb 27, 2024
1 parent 6a7ed5e commit 80f338c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .cirrus.yml
Expand Up @@ -48,7 +48,11 @@ env: # Global defaults

# https://cirrus-ci.org/guide/tips-and-tricks/#sharing-configuration-between-tasks
filter_template: &FILTER_TEMPLATE
skip: $CIRRUS_REPO_FULL_NAME == "bitcoin-core/gui" && $CIRRUS_PR == "" # No need to run on the read-only mirror, unless it is a PR. https://cirrus-ci.org/guide/writing-tasks/#conditional-task-execution
# No need to run on the read-only mirror, unless it is a PR.
# https://cirrus-ci.org/guide/writing-tasks/#conditional-task-execution
skip: $CIRRUS_REPO_FULL_NAME == "bitcoin-core/gui" && $CIRRUS_PR == ""
# Allow forks to skip CI runs when a branch is pushed.
skip: $NO_BRANCH == "true" && $CIRRUS_PR == ""
stateful: false # https://cirrus-ci.org/guide/writing-tasks/#stateful-tasks

base_template: &BASE_TEMPLATE
Expand Down

0 comments on commit 80f338c

Please sign in to comment.