Skip to content

Commit 4cb1794

Browse files
committed
fix: prevent from running the testAll.yml on main (#41)
1 parent 8c841af commit 4cb1794

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
@@ -70,11 +70,13 @@ jobs:
7070
command: yarn install
7171
- when:
7272
condition:
73-
or:
74-
- equal: [ main, << pipeline.git.branch >> ]
75-
- matches:
76-
pattern: /0\.[0-9]+[\.[0-9]+]?-stable/
77-
value: << pipeline.git.branch >>
73+
and:
74+
- equal: [ "https://github.com/facebook/react-native", << pipeline.project.git_url >> ]
75+
- or:
76+
- equal: [ main, << pipeline.git.branch >> ]
77+
- matches:
78+
pattern: /0\.[0-9]+[\.[0-9]+]?-stable/
79+
value: << pipeline.git.branch >>
7880
steps:
7981
- run:
8082
name: "[Main or Stable] Create input for config to test everything"

0 commit comments

Comments
 (0)