From d8965c430af93725371909df5d3fea67c3bc4cf8 Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Tue, 4 Jan 2022 17:54:22 -0800 Subject: [PATCH] Cancel in progress old CI runs Signed-off-by: Tamal Saha --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e4d6ad4f5..476d2da29 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,12 @@ on: push: tags: - "*.*" + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +concurrency: + group: '${{ github.head_ref || github.ref }}' + cancel-in-progress: true jobs: build: