- uses: sudosubin/git-clone-action@v1
with:
repository: '<USER>/<REPO>'
platform: 'github'
This action clones a given git repository.
This project is aiming to replace actions/checkout
for non-GitHub repositories, while keeping the same inputs
interface. (GitLab, Bitbucket, or Gitee)
- uses: sudosubin/git-clone-action@v1
with:
# Repository owner and name. Ex: sudosubin/git-clone-action
# Default: ${{ github.repository }}
repository: ''
# Git host platform. Ex: github, gitlab, bitbucket, gitee, or else (git.suckless.org, ...)
# Default: 'github'
platform: ''
# Git branch, tag, or specific commit SHA to checkout.
# Default: (auto default branch)
ref: ''
# Relative path from current directory, where to clone.
path: ''
# Todos below
# fetch-depth
# submodules
Git Clone Action is MIT Licensed.