From c63310797a77ca295aaf2492e275d5b8ea6a7d47 Mon Sep 17 00:00:00 2001 From: Ucanbarlic Date: Wed, 18 Sep 2024 16:37:07 +0200 Subject: [PATCH 1/3] Disable workflow concurrency on branch --- .github/workflows/ci.yml | 4 ++++ .github/workflows/lint.yml | 4 ++++ .github/workflows/query-performance.yml | 4 ++++ .github/workflows/snapshots.yml | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a58511078..2cb3e9c1c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,10 @@ on: schedule: - cron: "0 8 * * *" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: test-linux: name: Test diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 064f7ffd3..1a000d551 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,6 +18,10 @@ on: workflow_dispatch: push: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: lint-front-end: name: Lint Front-End diff --git a/.github/workflows/query-performance.yml b/.github/workflows/query-performance.yml index e7ba3866c..b76d70489 100644 --- a/.github/workflows/query-performance.yml +++ b/.github/workflows/query-performance.yml @@ -18,6 +18,10 @@ on: workflow_dispatch: push: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: test-linux: name: Query Performance Test diff --git a/.github/workflows/snapshots.yml b/.github/workflows/snapshots.yml index 5ac206cba..2e32a752c 100644 --- a/.github/workflows/snapshots.yml +++ b/.github/workflows/snapshots.yml @@ -18,6 +18,10 @@ on: workflow_dispatch: push: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: snapshots: name: Image Snapshots From f6e22388a3d53aa5fd85061f8b5585d41e8abb40 Mon Sep 17 00:00:00 2001 From: Ucanbarlic Date: Wed, 18 Sep 2024 16:47:56 +0200 Subject: [PATCH 2/3] Test will the workflow cancel --- .github/workflows/snapshots.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/snapshots.yml b/.github/workflows/snapshots.yml index 2e32a752c..190c7fc32 100644 --- a/.github/workflows/snapshots.yml +++ b/.github/workflows/snapshots.yml @@ -22,6 +22,8 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true +#test + jobs: snapshots: name: Image Snapshots From e5e777d9157ee0c6eae8d8b2612f57b09d67f152 Mon Sep 17 00:00:00 2001 From: Ucanbarlic Date: Wed, 18 Sep 2024 16:50:14 +0200 Subject: [PATCH 3/3] Delete test comment --- .github/workflows/snapshots.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/snapshots.yml b/.github/workflows/snapshots.yml index 190c7fc32..2e32a752c 100644 --- a/.github/workflows/snapshots.yml +++ b/.github/workflows/snapshots.yml @@ -22,8 +22,6 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true -#test - jobs: snapshots: name: Image Snapshots