From 60fe40e5099abcf80ac830b569c65afc0b06a31b Mon Sep 17 00:00:00 2001 From: kekrby Date: Sun, 28 Aug 2022 17:18:47 +0300 Subject: [PATCH] CI: cancel other builds if others are building for the same commit too (this happens when a commit is tagged) --- .github/workflows/CI.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index ea80601..b7ff137 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -5,6 +5,9 @@ on: [push, pull_request] jobs: CI: runs-on: ubuntu-latest + concurrency: + group: ${{ github.sha }} + cancel-in-progress: true steps: - name: Checkout uses: actions/checkout@v3