mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
For each commit on the branch that modifies a submodule reference,
verify that the referenced SHA exists in the local submodule via
`git cat-file -e <sha>^{commit}`. Submodule directories that are
not initialised are skipped with a warning.
This catches cases where a branch points a submodule at a SHA that
lives only in a private fork and would therefore fail when GitHub
Actions tries to fetch it.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>