Skip to content

Commit ec4669c

Browse files
committed
fix: prevent from running the testAll.yml on main (#41)
1 parent 2b86856 commit ec4669c

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.circleci/config.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,13 @@ jobs:
5353
command: yarn install
5454
- when:
5555
condition:
56-
or:
57-
- equal: [ main, << pipeline.git.branch >> ]
58-
- matches:
59-
pattern: /0\.[0-9]+[\.[0-9]+]?-stable/
60-
value: << pipeline.git.branch >>
56+
and:
57+
- equal: [ "https://github.com/facebook/react-native", << pipeline.project.git_url >> ]
58+
- or:
59+
- equal: [ main, << pipeline.git.branch >> ]
60+
- matches:
61+
pattern: /0\.[0-9]+[\.[0-9]+]?-stable/
62+
value: << pipeline.git.branch >>
6163
steps:
6264
- run:
6365
name: "[Main or Stable] Create input for config to test everything"

0 commit comments

Comments
 (0)