teqo-backup/.github/actions/cancel-workflow-on-failure/action.yml
Cursor Agent 8d9e4136f1
OPS9 — CI fail-fast: cancel workflow when any parallel job fails
Add composite action wrapping styfle/cancel-workflow-action@0.12.1 and
invoke it with if: failure() on every parallel job in ci-pr.yml and ci.yml.
Workflow-level actions: write permission enables cancellation. Document
fail-fast behavior in docs/AGENT-OPS.md CI table.

Closes #52

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-01 06:25:05 +00:00

7 lines
239 B
YAML

name: Cancel workflow on failure
description: Cancels the entire workflow run when invoked after a job failure (fail-fast).
runs:
using: composite
steps:
- name: Cancel workflow run
uses: styfle/cancel-workflow-action@0.12.1