durandtibo/cancel-queued-runs

Automatically cancel GitHub Actions workflow runs that have been queued longer than a configurable number of hours

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 22, 2026
License
BSD

Pinned Snippet

workflow.ymlSHA-pinned
uses: durandtibo/cancel-queued-runs-action@3f57ce49d16e0e14e7dd4aed984ff77470d8e357 # v1.9

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github_tokenGitHub token with actions:write permission.yes
repoTarget repository in owner/name format (e.g., 'octocat/hello-world'). yes
max_age_hoursMaximum number of hours a workflow run is allowed to stay queued before being cancelled. Must be a positive integer. The action uses standard cancel for runs between max_age_hours and max_age_hours+3, and force-cancel for runs older than max_age_hours+3 hours. no24

no outputs