From 96f12f83f02efe2b7668491f9da3207db0acbe90 Mon Sep 17 00:00:00 2001 From: Taimoor Zaeem Date: Thu, 7 May 2026 11:38:48 +0500 Subject: [PATCH] ci: cancel previous runs for tag pipelines Reverts the change in ad5bb38d7079f7ed7617b0960554665e902c6cef. https://github.com/orgs/community/discussions/13015 is now solved. Signed-off-by: Taimoor Zaeem --- .github/workflows/ci.yaml | 3 +-- .github/workflows/release.yaml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e1621e490..c385b6275 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -41,8 +41,7 @@ jobs: concurrency: # Never tag outdated commits on the main branch by skipping superseded commits group: ci-tag-${{ (github.ref == 'refs/heads/main' && github.ref) || github.run_id }} - # TODO: Enable this once https://github.com/orgs/community/discussions/13015 is solved - cancel-in-progress: false + cancel-in-progress: true if: vars.RELEASE_ENABLED runs-on: ubuntu-24.04 needs: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 44575bac8..abbb485b4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,8 +9,7 @@ on: concurrency: # Terminate all previous runs of the same workflow for the same tag. group: release-${{ github.ref }} - # TODO: Enable this once https://github.com/orgs/community/discussions/13015 is solved - cancel-in-progress: false + cancel-in-progress: true jobs: build: