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 GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Jan 21, 2025
- License
- MIT
Pinned Snippet
uses: efrecon/unforge@ee1e747b41f205c1f44837209d1b4d0721bfbae3 # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| repository | Repository name with owner. For example, `efrecon/unforge`. | — | ${{ github.repository }} |
| ref | The 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. | — | — |
| token | The token to use to access the repository at the remote/local forge. Defaults to the token of the workflow. | — | ${{ github.token }} |
| type | The type of the forge to download from, one of `github` or `gitlab` | — | github |
| path | Relative path under $GITHUB_WORKSPACE to place the repository | no | — |
| subdirectory | Subdirectory to extract from the remote repository | no | — |
Outputs
no outputs