Skip to content

Fetch only the android-config submodule - #4

Merged
mountEvarus merged 1 commit into
mainfrom
mountEvarus/submodule-checkout
Aug 22, 2026
Merged

Fetch only the android-config submodule#4
mountEvarus merged 1 commit into
mainfrom
mountEvarus/submodule-checkout

Conversation

@mountEvarus

Copy link
Copy Markdown
Owner

finance's migration failed at checkout, before any build step:

2. Run actions/checkout: failure
3. Run actions/setup-java: skipped

submodules: recursive also tries to clone js-config and go-config, which are private. The default GITHUB_TOKEN can't read them. film-roll never hit this because android-config is its only submodule.

The Android build reads neither of those. So instead of wiring a PAT through the pipeline, it now initialises packages/android-config alone, which is public and needs no token. It also skips cloning two repos it would never use.

Fails with a clear message if the submodule is absent, rather than building against a missing catalog.

submodules: recursive broke finance: it also tries to clone js-config and go-config,
which are private, so the default token cannot read them and checkout fails before any
build step runs. film-roll never hit this because android-config is its only submodule.

The Android build reads none of those, so it now initialises packages/android-config
alone. That is public, so the pipeline needs no PAT at all, and it skips cloning two
repos it would never use.
@mountEvarus
mountEvarus merged commit 9543d26 into main Aug 22, 2026
1 check passed
@mountEvarus
mountEvarus deleted the mountEvarus/submodule-checkout branch August 22, 2026 18:28
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.

1 participant