mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-20 09:53:06 +00:00
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>
7 lines
239 B
YAML
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
|