Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Update Workflow Concurrency (#3359)

Cenk Kücük1a9dd0de909f
diff --git a/.github/workflows/build-private-images.yml b/.github/workflows/build-private-images.yml
index 81f8d05845..d7202a68fd 100644
--- a/.github/workflows/build-private-images.yml
+++ b/.github/workflows/build-private-images.yml
@@ -8,6 +8,10 @@ on:
branches: [master]
types: [synchronize, labeled]
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
jobs:
build:
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'deploy-to-staging') }}
diff --git a/.github/workflows/build-public-images.yml b/.github/workflows/build-public-images.yml
index 755c1e176b..6a98175e3f 100644
--- a/.github/workflows/build-public-images.yml
+++ b/.github/workflows/build-public-images.yml
@@ -4,6 +4,10 @@ on:
push:
tags: ['v*']
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
jobs:
build:
runs-on: buildjet-16vcpu-ubuntu-2204
diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml
index 64516da83f..b16d4fa8cd 100644
--- a/.github/workflows/elixir.yml
+++ b/.github/workflows/elixir.yml
@@ -6,6 +6,10 @@ on:
pull_request:
branches: [master, stable]
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
jobs:
build:
name: Build and test
diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml
index ec9e54bd34..f85ef718bf 100644
--- a/.github/workflows/node.yml
+++ b/.github/workflows/node.yml
@@ -6,6 +6,10 @@ on:
pull_request:
branches: [master, stable]
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
jobs:
build:
name: Build and test
diff --git a/.github/workflows/terraform-e2e.yml b/.github/workflows/terraform-e2e.yml
index 6cd3dc407d..d771c55769 100644
--- a/.github/workflows/terraform-e2e.yml
+++ b/.github/workflows/terraform-e2e.yml
@@ -12,6 +12,10 @@ on:
paths:
- 'test/e2e/**.tf'
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: false
+
jobs:
terraform:
concurrency: terraform_checkly
diff --git a/.github/workflows/tracker.yml b/.github/workflows/tracker.yml
index ad7ad744b0..5cfc6a801f 100644
--- a/.github/workflows/tracker.yml
+++ b/.github/workflows/tracker.yml
@@ -6,6 +6,10 @@ on:
paths:
- 'tracker/**'
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
jobs:
test:
timeout-minutes: 15