larchliu/Cancel Previous Runs Actions

Cancel previous workflow-runs. Skip duplicate workflow-runs. Skip or ignore specific paths. Cancel outdated workflow-runs.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
github_tokenYour GitHub Access Tokenyes${{ github.token }}
paths_ignoreA JSON-array with ignored path patterns, e.g. something like ["**/README.md", "**/docs/**"]no[]
pathsA JSON-array with path patterns, e.g. something like ["platform-specific/**"]no[]
cancel_othersIf true, then workflow-runs from outdated commits will be cancellednotrue
cancel_previousIf true, then workflow-runs from outdated runs will be cancellednofalse
skip_after_successful_duplicateIf true, skip if an already finished duplicate run can be foundnotrue
do_not_skipA JSON-array with triggers that should never be skippedno["workflow_dispatch", "schedule"]
do_not_cancelno["repository_dispatch"]
concurrent_skippingOne of never, same_content, outdated_runs, alwaysyesnever
namedescription
should_skiptrue if the current run can be safely skipped. This should be evaluated for either individual steps or entire jobs.