Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 932 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 932 Bytes

Submodule Checkout Action

This action checks out a private or public submodule hosted within GitHub.

Usage

- uses: actions/checkout@v3
- uses: kilianweisl/[email protected]

Private Repositories

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).

ChangeLog

The original code has been updated in order to make it work:

  • New GitHub RSA signature
  • git config --global --add safe.directory /github/workspace in entrypoint.sh (before git submodule update --init --recursive is executed).

License

MIT

Original Author

James Webb