msqu-cicd/Branch Names

Retrieve various information useful for depedent actions

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
strip_tag_prefixThe prefix that should be stripped from the tag e.g `v` -> with a tag `v0.0.1` -> returns `0.0.1`no""
namedescription
git_is_defaultReturns `"true"` if the current branch is the default else `"false"`.
git_is_tagReturns `"true"` if the current branch is a tag else `"false"`.
git_default_branchThe default branch name e.g `main` OR `master`
git_current_branchThe current branch name regardless of event_type e.g `main`, `feature/test`
git_base_ref_branchThe target branch of a pull request or tag e.g `main`
git_head_ref_branchThe source branch of a pull request e.g `feature/test`
git_ref_branchThe branch that triggered the workflow run. e.g `1/merge`, `main`
git_tagThe tag that triggered the workflow run. e.g `v0.0.1`, `0.0.1`
ci_hostnameci server hostname without http(s) prefix