Skip to content

Cancel redundant workflows #1706

Cancel redundant workflows

Cancel redundant workflows #1706

# SPDX-FileCopyrightText: Andrei Gherzan <[email protected]>
#
# SPDX-License-Identifier: MIT
name: Cancel redundant workflows
on:
workflow_run:
workflows:
- "Builds"
- "Compliance"
- "Yocto Compatible"
types:
- requested
jobs:
cancel-redundant-workflows:
runs-on: ubuntu-latest
steps:
- uses: styfle/[email protected]
with:
all_but_latest: true
workflow_id: ${{ github.event.workflow.id }}