From 4b72e5a886bac6f3b47f30c6ee057dd4d293acdf Mon Sep 17 00:00:00 2001 From: Bo Chen Date: Fri, 1 Mar 2024 10:00:16 -0800 Subject: [PATCH] build: Allow 'cancel-in-progress' for bare-metal workers Signed-off-by: Bo Chen (cherry picked from commit 46c9b9693c2b28e64af103d1549278c455b97706) --- .github/workflows/integration-arm64.yaml | 3 +++ .github/workflows/integration-rate-limiter.yaml | 3 +++ .github/workflows/integration-sgx.yaml | 3 +++ .github/workflows/integration-vfio.yaml | 3 +++ 4 files changed, 12 insertions(+) diff --git a/.github/workflows/integration-arm64.yaml b/.github/workflows/integration-arm64.yaml index 333f1b8fb..e940b11e5 100644 --- a/.github/workflows/integration-arm64.yaml +++ b/.github/workflows/integration-arm64.yaml @@ -1,5 +1,8 @@ name: Cloud Hypervisor Tests (ARM64) on: [pull_request, merge_group] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: build: diff --git a/.github/workflows/integration-rate-limiter.yaml b/.github/workflows/integration-rate-limiter.yaml index 2911e32db..dde0c5d17 100644 --- a/.github/workflows/integration-rate-limiter.yaml +++ b/.github/workflows/integration-rate-limiter.yaml @@ -1,5 +1,8 @@ name: Cloud Hypervisor Tests (Rate-Limiter) on: [merge_group, pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: build: diff --git a/.github/workflows/integration-sgx.yaml b/.github/workflows/integration-sgx.yaml index 012bad1c0..bd5a78334 100644 --- a/.github/workflows/integration-sgx.yaml +++ b/.github/workflows/integration-sgx.yaml @@ -1,5 +1,8 @@ name: Cloud Hypervisor Tests (SGX) on: [merge_group, pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: build: diff --git a/.github/workflows/integration-vfio.yaml b/.github/workflows/integration-vfio.yaml index 45fda7cc5..b41f227e3 100644 --- a/.github/workflows/integration-vfio.yaml +++ b/.github/workflows/integration-vfio.yaml @@ -1,5 +1,8 @@ name: Cloud Hypervisor Tests (VFIO) on: [merge_group, pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: build: