From 511cc2b267a083ef436ce04e5558c9d41442cec6 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Fri, 26 Aug 2022 20:58:19 +0300 Subject: [PATCH] ci: prevent native-backend jobs from separate PRs to cancel each other --- .github/workflows/native_backend_tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/native_backend_tests.yml b/.github/workflows/native_backend_tests.yml index 9733183c5..757229346 100644 --- a/.github/workflows/native_backend_tests.yml +++ b/.github/workflows/native_backend_tests.yml @@ -43,6 +43,10 @@ on: - 'vlib/v/gen/native/**.v' - 'vlib/v/gen/native/tests/**.v' +concurrency: + group: native-backend-ci-${{ github.event.pull_request.number || github.sha }} + cancel-in-progress: true + jobs: native-backend: strategy: -- 2.30.2