samhammerag/last-successful-build-action
Action to find the sha of the last successful workflow of a branch.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | GITHUB_TOKEN or a repo scoped PAT. | yes | ${{ github.token }} |
| branch | Branch for the workflow to look for. | yes | — |
| workflow | Workflow name to look for. | no | — |
| job | Job name to look for. | no | — |
| verify | Verify SHA of workflow run commit against list of commit SHAs in repository | no | false |
| fallbackToEarliestSha | If SHA of last successful commit can not be determined, use earliest (true) or triggering sha (false) | no | false |
Outputs
| name | description |
|---|---|
| sha | Sha of the workflow-run matching the requirements. |
| run-id | Id of the workflow-run matching the requirements. |