From c042e8e5b15bfad88c8929d41de07f8900a79b24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Kwa=C5=9Bniewski?= Date: Fri, 1 Dec 2023 10:09:53 +0100 Subject: [PATCH] fix: prevent from running the testAll.yml on main (#41) --- .circleci/config.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 94fed2af278951..092d176ae3c08b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,11 +53,13 @@ jobs: command: yarn install - when: condition: - or: - - equal: [ main, << pipeline.git.branch >> ] - - matches: - pattern: /0\.[0-9]+[\.[0-9]+]?-stable/ - value: << pipeline.git.branch >> + and: + - equal: [ "https://github.com/facebook/react-native", << pipeline.project.git_url >> ] + - or: + - equal: [ main, << pipeline.git.branch >> ] + - matches: + pattern: /0\.[0-9]+[\.[0-9]+]?-stable/ + value: << pipeline.git.branch >> steps: - run: name: "[Main or Stable] Create input for config to test everything"