Build: remove accidental git submodule entries breaking actions/checkout#34848
Merged
Conversation
The .external/addon-svelte-csf, .external/addon-webpack5-compiler-babel, and .external/addon-webpack5-compiler-swc paths were registered in the git index as gitlink entries (mode 160000 / submodule refs) but had no corresponding .gitmodules file. This caused git submodule foreach --recursive (run by actions/checkout@v4 during setup and post-job cleanup) to fail with: fatal: No url found for submodule path '.external/addon-svelte-csf' in .gitmodules This repo does not use git submodules. These entries were added accidentally. Remove them from the tree entirely so checkout actions no longer trigger any submodule logic. Co-authored-by: JReinhold <5678122+JReinhold@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix failing Publish Canary Packages workflow by removing Git submodule config
Fix: remove accidental git submodule entries breaking May 20, 2026
actions/checkout
valentinpalkovic
approved these changes
May 20, 2026
actions/checkoutactions/checkout
Contributor
|
Contributor
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThree git submodule references are removed from the ChangesSubmodule Cleanup
🎯 1 (Trivial) | ⏱️ ~2 minutes Comment |
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three paths under
.external/were registered in the git index as gitlink entries (mode160000, the object type git uses for submodule references) with no corresponding.gitmodulesfile. This causedactions/checkout@v4to fail during itsgit submodule foreach --recursivestep:Changes
git rm --cachedderegisters.external/addon-svelte-csf,.external/addon-webpack5-compiler-babel, and.external/addon-webpack5-compiler-swcfrom the tree (all three were empty placeholder directories with no submodule URL defined).external/directories — nothing useful was there; the directories only existed as artifact of the stale index entriesThis repo does not use git submodules. With these entries gone,
git submodule foreachfinds nothing to iterate and checkout proceeds cleanly.Original prompt
This pull request was created from Copilot chat.
Summary by CodeRabbit