viveklak/Cancel Workflows Action

This action will cancel any previous `waiting` workflow runs for a given workflow

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
workflow-run-idThe workflow run ID to start the search for workflows from. Defaults to the current workflow run.no${{ github.run_id }}
access-tokenYour GitHub Access Token, defaults to: {{ github.token }}no${{ github.token }}
limit-to-previous-successful-run-commitOnly cancel workflows created for commits since the commit for the previous successfully completed workflownofalse
last-successful-run-idWorkflow run ID for the last successful run (to use in concert with limit-to-previous-successful-run-commit).no
status-of-workflows-to-cancelThe status of workflows to consider cancelling. Defaults to "waiting".waiting
dry-runWhen set doesnt actually delete the workflow runs but simply prints out the workflows that should be deleted.true
reject-waiting-workflow-runsBy default, waiting workflows will be canceled. When set to true, waiting workflows will instead be canceled.false
tag-superseeded-workflows-withWhen set, will tag superseeded workflows with the given tag.no

no outputs