plentifulapp/Checkout with Fallback

Checks out a branch if it exists; otherwise, checks out the default branch.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
ref-if-existsThe branch name to check out if it exists.yes
ref-fallbackThe branch name to check out if ref-if-exists does not exist. Defaults to the default branch of the repo if not specified.no
tokenThe GitHub token to use for authentication. Used for querying branches and for actions/checkout.yes
repositoryThe repository to check out. Passed without changes to actions/checkout.yes
pathThe path to save the checked out files. Passed without changes to actions/checkout.no
sparse-checkoutWhether to use sparse checkout. Passed without changes to actions/checkout.no
sparse-checkout-cone-modeWhether to use sparse checkout in cone mode. Passed without changes to actions/checkout.no

no outputs