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 Jan 19, 2024
1 parent 687d3b1 commit c042e8e
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 @@ -53,11 +53,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 c042e8e

Please sign in to comment.