This action checks out a private or public submodule hosted within GitHub.
- uses: actions/checkout@v3
- uses: kilianweisl/[email protected]
If you want to check out private repositories, provide an additional (private) SSH-Key:
- uses: actions/checkout@v3
- uses: kilianweisl/[email protected]
with:
ssh-key: '${{ secrets.SSH_PRIVATE_KEY }}'
Make sure, that SSH_PRIVATE_KEY
is added as secret variable in the parent repository and the corresponding public key as "deploy key" in the submodule repository (Settings->Deploy keys).
The original code has been updated in order to make it work:
- New GitHub RSA signature
git config --global --add safe.directory /github/workspace
inentrypoint.sh
(beforegit submodule update --init --recursive
is executed).
MIT
James Webb