1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2025-02-22 09:51:21 +01:00
checkout/dist
Wiktor Kwapisiewicz 38cd156730
Ask git to checkout a submodule even if it is skipped in .gitmodules
Setting a submodule as `update = none` is a common way to make cargo
skip the submodule. Unfortunately this makes `actions/checkout` skip
the submodule too, even if it's configured to fetch submodules.

This patch adds an option that is a default in git but causes the
submodules to be available even if skipped otherwise.

See: https://github.com/actions/checkout/issues/915
See: https://github.com/rust-lang/cargo/issues/4247#issuecomment-1149178736
See: https://git-scm.com/docs/git-submodule#Documentation/git-submodule.txt---checkout
2025-02-18 12:31:08 +01:00
..
index.js Ask git to checkout a submodule even if it is skipped in .gitmodules 2025-02-18 12:31:08 +01:00
problem-matcher.json Convert checkout to a regular action (#70) 2019-12-03 10:28:59 -05:00