Skip to content

Use shallow React Native clones in CI - #252

Merged
cortinico merged 1 commit into
mainfrom
ci/shallow-react-native-clone
Sep 21, 2026
Merged

cortinico merged 1 commit into
mainfrom
ci/shallow-react-native-clone

Conversation

@cortinico

Copy link
Copy Markdown
Member

Summary

  • clone only React Native's main branch in image validation jobs
  • limit the clone to the latest revision
  • skip tags that are not needed by the Android or Fantom builds

Motivation

The Checkout React Native steps currently perform full clones of the large React Native repository. These jobs only build the current main checkout and do not need other branches, tags, or commit history.

Test plan

  • git diff --check
  • parsed .github/workflows/build.yml with Ruby YAML
  • CI exercises both updated clone commands before the Android and Fantom builds

@cortinico
cortinico marked this pull request as ready for review September 21, 2026 16:01
@cortinico
cortinico enabled auto-merge (squash) September 21, 2026 16:02
@cortinico
cortinico merged commit 91a5180 into main Sep 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants