Cancel Previous PR Workflows #10001
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cancel Previous PR Workflows | |
on: | |
workflow_run: | |
workflows: | |
- "Dependencies autoupdate" | |
- "Build Sample Apps Containers" | |
- "Build ONVIF Broker (.NET)" | |
- "Build OPC UA Monitoring Broker" | |
- "Build OpenCV Base" | |
- "Build Production Rust Containers" | |
- "Build UDEV Broker" | |
- "Check Rust" | |
- "Check versioning" | |
- "Helm" | |
- "Tarpaulin Code Coverage" | |
- "Test K3s, Kubernetes, and MicroK8s" | |
types: | |
- requested | |
jobs: | |
cancel: | |
runs-on: ubuntu-latest | |
if: github.event.workflow_run.event == 'pull_request' | |
steps: | |
- uses: styfle/cancel-workflow-action@0.11.0 | |
with: | |
workflow_id: ${{ github.event.workflow.id }} |