A GitHub Action that clones multiple git repositories with specific features.
This action can be used in other repositories' workflows to clone multiple repositories with branch/tag selection support.
Inputs:
repo-list(required): Space-separated list of repositories inorg/repoformat to clonegit-pat(optional): Git Personal Access Token for authentication
Example workflow:
- uses: bopen/ci-cd/git-clone
env:
REPO1_REF: "main"
REPO2_REF: "v1.0.0"
with:
repo-list: "org/repo1 org/repo2"
git-pat: ${{ secrets.GIT_PAT }}- Clones multiple repositories in a single action step
- Supports branch/tag selection per repo via environment variables (e.g.,
REPO_NAME_REF) - Handles authentication via PAT
A GitHub Action that sets up a deployment repository by cloning the repository itself and all its dependencies.
This action can be used in workflows to prepare a deployment environment by cloning the main repository and its dependencies.
Inputs:
repo(required): The main repository inorg/repoformat to clonedeps-list(required): Space-separated list of dependencies inorg/repoformat to clone alongside the main repositorydeps-versions-file(required): Path to a file containing the versions of the dependencies to clonegit-pat(optional): Git Personal Access Token for authentication
Example workflow:
- uses: bopen/ci-cd/setup-deploy@main
with:
repo: org/main-repo
deps-list: "org/dependency1 org/dependency2"
deps-versions-file: org/main-repo/environment.release
git-pat: ${{ secrets.GIT_PAT }}A GitHub Action that updates a dependency file with the specified version of specified dependency.
This action can be used in workflows to update a dependency file with the new version of a specified dependency.
Inputs:
package-ref(required): The reference to the package in the dependency fileversion(required): The version to update the dependency todeps-versions-file(required): The file containing the dependency information
Example workflow:
- name: Update dependency file
uses: bopen/ci-cd/update-dependency-file@main
with:
package-ref: PACKAGE_NAME_REF
version: v1.0
deps-versions-file: environment.releaseA GitHub Action that checks if the uv.lock file is up to date and updates it if necessary.
This action can be used in workflows to ensure that the uv.lock file is correct and updated if needed.
Inputs:
repo-path(required): The path to the repository containing theuv.lockfile Outputs:uv-lock: Boolean indicating whether theuv.lockfile has been updated
Example workflow:
- name: Check and update uv lock
id: check-update-uv-lock
uses: bopen/ci-cd/check-update-uv-lock@main
with:
repo-path: path/to/repository