From b988502628a777837efe1f6b74f00636a963901d Mon Sep 17 00:00:00 2001 From: Nick Boldt Date: Wed, 16 Oct 2024 10:50:11 -0300 Subject: [PATCH] chore(release) only the release action should be gated to one at a time; PR build and test should be able to run in parallel across multiple PRs (RHIDP-4430) Signed-off-by: Nick Boldt --- .github/workflows/pr-build.yaml | 7 ++++--- .github/workflows/pr-test.yaml | 7 ++++--- .github/workflows/release.yaml | 3 ++- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml index 5b6ff9d6acc..df1b03b4932 100644 --- a/.github/workflows/pr-build.yaml +++ b/.github/workflows/pr-build.yaml @@ -6,9 +6,10 @@ env: TURBO_SCM_BASE: ${{ github.event.pull_request.base.sha }} TURBO_SCM_HEAD: ${{ github.sha }} -concurrency: - group: push - cancel-in-progress: false +# uncommment this to enforce only one action can run at a time +# concurrency: +# group: ${{ github.workflow }} +# cancel-in-progress: false jobs: build: diff --git a/.github/workflows/pr-test.yaml b/.github/workflows/pr-test.yaml index bd640580289..8d182a44bef 100644 --- a/.github/workflows/pr-test.yaml +++ b/.github/workflows/pr-test.yaml @@ -6,9 +6,10 @@ env: TURBO_SCM_BASE: ${{ github.event.pull_request.base.sha }} TURBO_SCM_HEAD: ${{ github.sha }} -concurrency: - group: push - cancel-in-progress: false +# uncommment this to enforce only one action can run at a time +# concurrency: +# group: ${{ github.workflow }} +# cancel-in-progress: false jobs: test: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3fdc96945ee..7665087dbc5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,8 +14,9 @@ on: - 1.2.x - release-[0-9].[0-9]* +# enforce only one release action at a time concurrency: - group: push + group: ${{ github.workflow }} cancel-in-progress: false jobs: