diff --git a/.circleci/config.yml b/.circleci/config.yml index af889bdc060522..699674805fd9c2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -70,11 +70,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"