From 3d5f97a9da1aaef2272a9d831fc2c660596f37ee Mon Sep 17 00:00:00 2001 From: 0xh3rman <119309671+0xh3rman@users.noreply.github.com> Date: Tue, 4 Jun 2024 07:45:01 +0900 Subject: [PATCH] Add cancel-in-progress for CI (#26) Co-authored-by: gemcoder21 <104884878+gemcoder21@users.noreply.github.com> --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7605ec58..66bb58e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,10 @@ on: pull_request: branches: ["main"] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + env: SCCACHE_GHA_ENABLED: "true" RUSTC_WRAPPER: "sccache"