efrecon/unforge

Download a branch, tag or commit from a git repository and extract it to a directory, without `git`. When you do not need history, this is quicker than using action/checkout.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Jan 21, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: efrecon/unforge@ee1e747b41f205c1f44837209d1b4d0721bfbae3 # no releases — HEAD as of 2026-07-11

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
repositoryRepository name with owner. For example, `efrecon/unforge`.${{ github.repository }}
refThe branch, tag or SHA to checkout. When checking out the repository that triggered a workflow, this defaults to the reference or SHA for that event. Otherwise, uses the default branch.
tokenThe token to use to access the repository at the remote/local forge. Defaults to the token of the workflow. ${{ github.token }}
typeThe type of the forge to download from, one of `github` or `gitlab` github
pathRelative path under $GITHUB_WORKSPACE to place the repositoryno
subdirectorySubdirectory to extract from the remote repositoryno

no outputs