From d8e9d18ccbecacd921e3fb256471ab812cfede9e Mon Sep 17 00:00:00 2001 From: Dominic Date: Tue, 24 Dec 2024 10:44:26 +0200 Subject: [PATCH] chore: add concurrency to actions to avoid duplicate actions running after new commit --- .github/workflows/build-docs.yaml | 2 ++ .github/workflows/build-packages.yaml | 2 ++ .github/workflows/dev-packages.yaml | 2 ++ .github/workflows/test-isolated.yaml | 2 ++ .github/workflows/test.yml | 2 ++ 5 files changed, 10 insertions(+) diff --git a/.github/workflows/build-docs.yaml b/.github/workflows/build-docs.yaml index 64d40e25..dec310bc 100644 --- a/.github/workflows/build-docs.yaml +++ b/.github/workflows/build-docs.yaml @@ -3,6 +3,8 @@ name: Build docs on: push: +concurrency: ${{ github.workflow }}-${{ github.ref }} + jobs: build: runs-on: ubuntu-latest diff --git a/.github/workflows/build-packages.yaml b/.github/workflows/build-packages.yaml index b3f1b40f..13e9aadb 100644 --- a/.github/workflows/build-packages.yaml +++ b/.github/workflows/build-packages.yaml @@ -4,6 +4,8 @@ name: Build Packages on: push: +concurrency: ${{ github.workflow }}-${{ github.ref }} + jobs: build: name: Build Packages diff --git a/.github/workflows/dev-packages.yaml b/.github/workflows/dev-packages.yaml index d8d34e9e..a960ef6b 100644 --- a/.github/workflows/dev-packages.yaml +++ b/.github/workflows/dev-packages.yaml @@ -4,6 +4,8 @@ name: Create Dev Release on: workflow_dispatch +concurrency: ${{ github.workflow }}-${{ github.ref }} + jobs: publish: name: Publish Dev Packages diff --git a/.github/workflows/test-isolated.yaml b/.github/workflows/test-isolated.yaml index c0a074c0..86c95242 100644 --- a/.github/workflows/test-isolated.yaml +++ b/.github/workflows/test-isolated.yaml @@ -4,6 +4,8 @@ name: Test Isolated Demos on: push: +concurrency: ${{ github.workflow }}-${{ github.ref }} + jobs: test: name: Test Isolated Demos diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 99099dda..8e69b5f5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,6 +4,8 @@ name: Test Packages on: push: +concurrency: ${{ github.workflow }}-${{ github.ref }} + jobs: test: name: Test Packages