Skip to content

Cancel Previous PR Workflows #9123

Cancel Previous PR Workflows

Cancel Previous PR Workflows #9123

name: Cancel Previous PR Workflows
on:
workflow_run:
workflows: ["Dependencies autoupdate", "Build Agents", "Build Anomaly Detection App Container", "Build Controller", "Build ONVIF Broker (.NET)", "Build OPC UA Monitoring Broker", "Build OpenCV Base", "Build Production Rust Code", "Build Rust CrossBuild", "Build UDEV Broker", "Build Video Streaming App Container", "Build Webhook Configuration", "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/[email protected]
with:
workflow_id: ${{ github.event.workflow.id }}