recoord/last-successful-build-action

Action to find the sha of the last successful workflow of a branch.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
cleanDetermine if checkout should be cleanednotrue
relative_checkout_directoryThe relative checkout directory in terms of the runner/repository workspaceyes
tokenGITHUB_TOKEN or a repo scoped PAT.no${{ github.token }}
branchBranch for the workflow to look for.no${{ github.head_ref || github.ref_name }}
fetch-depthNumber of commits to fetch. 0 indicates all history for all branches and tags.1
verifyVerify SHA of workflow run commit against list of commit SHAs in repository. Add verify if workflow is expected to contain commits that no longer exist (rebased commit history)nofalse
workflowCurrent workflow nameno${{ github.workflow }}
namedescription
shaSha of the workflow-run matching the requirements.
run-idId of the workflow-run matching the requirements.
n-runsNumber of runs of the workflow matching the requirements