Skip to content

Commit

Permalink
Add Workflow to Cancel Previous PR Workflows [SAME VERSION] (#281)
Browse files Browse the repository at this point in the history
* add workflow to cancel all previous workflows on a pr

* remove security workflow and cancel workflow from list
  • Loading branch information
kate-goldenring authored Mar 23, 2021
1 parent 877fb0e commit 9e45cba
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/cancel-previous-pr-workflows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Cancel Previous PR Workflows
on:
pull_request:
branches: [ main ]
jobs:
cancel:
runs-on: ubuntu-latest
steps:
- uses: styfle/[email protected]
with:
workflow_id: "auto-update-dependencies.yml, build-agent-container.yml, build-anomaly-detection-app-container.yml, build-controller-container.yml, build-onvif-video-broker-container.yml, build-opcua-monitoring-broker-container.yml, build-opencv-base-container.yml, build-rust-code.yml, build-rust-crossbuild-container.yml, build-udev-video-broker-container.yml, build-video-streaming-app-container.yml, build-webhook-configuration-container.yml, check-rust.yml, check-versioning.yml, run-helm.yml, run-tarpaulin.yml, run-test-cases.yml"

0 comments on commit 9e45cba

Please sign in to comment.