From a99dae00d52c8fc2f3a67286f14990c7165cce7f Mon Sep 17 00:00:00 2001 From: mudler Date: Fri, 19 May 2023 01:07:59 +0200 Subject: [PATCH] ci: add pipelines in concurrency group --- .github/workflows/image.yml | 4 ++++ .github/workflows/test.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index d83f58d3..eeada322 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -9,6 +9,10 @@ on: tags: - '*' +concurrency: + group: ci-${{ github.head_ref || github.ref }}-${{ github.repository }} + cancel-in-progress: true + jobs: docker: runs-on: ubuntu-latest diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 17e3c809..48fe2cf8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,6 +9,10 @@ on: tags: - '*' +concurrency: + group: ci-tests-${{ github.head_ref || github.ref }}-${{ github.repository }} + cancel-in-progress: true + jobs: ubuntu-latest: runs-on: ubuntu-latest