From 778ebe5bef508552c7c858aff85e698e44d29718 Mon Sep 17 00:00:00 2001 From: Ru Chern Chong Date: Fri, 24 May 2024 18:13:20 +0800 Subject: [PATCH] Update GHA workflows to prevent concurrency --- .github/workflows/pulumi.preview.yml | 3 +++ .github/workflows/pulumi.production.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/pulumi.preview.yml b/.github/workflows/pulumi.preview.yml index 78733f2..0be1a12 100644 --- a/.github/workflows/pulumi.preview.yml +++ b/.github/workflows/pulumi.preview.yml @@ -6,6 +6,9 @@ on: - "*" - "!main" +concurrency: + group: merge-${{ github.ref }} + jobs: test: runs-on: ubuntu-latest diff --git a/.github/workflows/pulumi.production.yml b/.github/workflows/pulumi.production.yml index cf753e3..fa03484 100644 --- a/.github/workflows/pulumi.production.yml +++ b/.github/workflows/pulumi.production.yml @@ -7,6 +7,9 @@ on: tags: - 'v*.*.*' +concurrency: + group: merge-${{ github.ref }} + jobs: test: runs-on: ubuntu-latest