plentifulapp/Checkout with Fallback
Checks out a branch if it exists; otherwise, checks out the default branch.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| ref-if-exists | The branch name to check out if it exists. | yes | — |
| ref-fallback | The branch name to check out if ref-if-exists does not exist. Defaults to the default branch of the repo if not specified. | no | — |
| token | The GitHub token to use for authentication. Used for querying branches and for actions/checkout. | yes | — |
| repository | The repository to check out. Passed without changes to actions/checkout. | yes | — |
| path | The path to save the checked out files. Passed without changes to actions/checkout. | no | — |
| sparse-checkout | Whether to use sparse checkout. Passed without changes to actions/checkout. | no | — |
| sparse-checkout-cone-mode | Whether to use sparse checkout in cone mode. Passed without changes to actions/checkout. | no | — |
Outputs
no outputs