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 Dec 5, 2023
1 parent b239899 commit e27f7d2
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 e27f7d2

Please sign in to comment.