fulcrumgenomics/Fetch through merge-base

Fetch PR commits through the merge-base

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
base-refThe base ref or target branch in the workflow run. If empty or not defined, the `fallback-base-ref` input ref will be used. no${{ github.base_ref }}
head-refThe head ref or source branch in the workflow run. If empty or not defined, the `fallback-head-ref` input ref will be used. no${{ github.head_ref }}
fallback-base-refThe base ref to use when `base-ref` is empty or not defined. For example, when using `github.base_ref` for `base-ref`, and the workflow is not a `pull_request` or `pull_request_target`, then the `base-ref` is not defined, so this ref will be used. nomain
fallback-head-refThe head ref to use when `head-ref` is empty or not defined. For example, when using `github.head_ref` for `head-ref`, and the workflow is not a `pull_request` or `pull_request_target`, then the `head-ref` is not defined, so this ref will be used. no${{ github.sha }}
deepen-lengthThe number of commits to increase from the tip of each base and ref history when `git merge-base` fails to find the common ancestor of the two commits. no10
fail-afterThe number of attempts to deepen before the action fails. no100
working-directoryThe working directory to switch to when runnign this action. no./
fallback-fetch-allTrue to fetch all commits if number of attempts to deepen reaches its limit, false to fail the action. nofalse
enable-timingTrue to emit per-step timings via fulcrumgenomics/gha-timer, false to skip the gha-timer setup step entirely. Set this to false in environments where installing gha-timer is undesirable (e.g. self-hosted runners with restricted egress). Accepted values are the strings 'true' and 'false'. notrue
namedescription
base-refThe base ref computed by the workflow run. This differs from the input base ref when the latter is empty and the fallback base ref is used.
head-refThe head ref computed by the workflow run. This differs from the input head ref when the latter is empty and the fallback head ref is used.
ancestor-refThe best common ancestor between the base and head references, or empty if none was found.