viveklak/Cancel Workflows Action
This action will cancel any previous `waiting` workflow runs for a given workflow
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| workflow-run-id | The workflow run ID to start the search for workflows from. Defaults to the current workflow run. | no | ${{ github.run_id }} |
| access-token | Your GitHub Access Token, defaults to: {{ github.token }} | no | ${{ github.token }} |
| limit-to-previous-successful-run-commit | Only cancel workflows created for commits since the commit for the previous successfully completed workflow | no | false |
| last-successful-run-id | Workflow run ID for the last successful run (to use in concert with limit-to-previous-successful-run-commit). | no | — |
| status-of-workflows-to-cancel | The status of workflows to consider cancelling. Defaults to "waiting". | — | waiting |
| dry-run | When set doesnt actually delete the workflow runs but simply prints out the workflows that should be deleted. | — | true |
| reject-waiting-workflow-runs | By default, waiting workflows will be canceled. When set to true, waiting workflows will instead be canceled. | — | false |
| tag-superseeded-workflows-with | When set, will tag superseeded workflows with the given tag. | no | — |
Outputs
no outputs