Skip to content

Commit

Permalink
fix: prevent from running the testAll.yml on main (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
okwasniewski committed Mar 18, 2024
1 parent 8c841af commit 4cb1794
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4cb1794

Please sign in to comment.