Skip to content

Cancel previous workflow #13

Cancel previous workflow

Cancel previous workflow #13

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/[email protected]
with:
workflow_id: ${{ github.event.workflow.id }}