Skip to content

Cancel previous workflow #14221

Cancel previous workflow

Cancel previous workflow #14221

name: Cancel previous workflow
on:
workflow_run:
# List long running github workflows here.
workflows: ["Documentation Build"]
types:
- requested
jobs:
cancel:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- name: Cancel Workflow Action
uses: styfle/cancel-workflow-action@0.11.0
with:
workflow_id: ${{ github.event.workflow.id }}