From cc8b35c2e6ac9ab99e4fbfb62daabdde00bcd937 Mon Sep 17 00:00:00 2001 From: Oleksandr Stepanov Date: Mon, 19 Aug 2024 16:37:12 +0200 Subject: [PATCH] ci: Set cancel in progress and concurency limit --- .github/workflows/ci.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8cacba7..8982719 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -2,6 +2,10 @@ name: "Rust CI" on: pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: build: name: cargo build