diff --git a/.circleci/config.yml b/.circleci/config.yml index 092d176ae3c08b..d4071dc65c9bc6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,19 +53,17 @@ jobs: command: yarn install - when: condition: - 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 >> + 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" command: | mkdir -p /tmp/circleci/ - echo '{ "run_all": true }' > /tmp/circleci/pipeline_config.json + node ./scripts/circleci/pipeline_selection.js filter-jobs - when: condition: not: