Skip to content

Commit

Permalink
chore(release) only the release action should be gated to one at a ti…
Browse files Browse the repository at this point in the history
…me; PR build and test should be able to run in parallel across multiple PRs (RHIDP-4430)

Signed-off-by: Nick Boldt <nboldt@redhat.com>
  • Loading branch information
nickboldt committed Oct 16, 2024
1 parent b84201c commit 588f92d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pr-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: true

jobs:
build:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/pr-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: true

jobs:
test:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ on:
- 1.2.x
- release-[0-9].[0-9]*

# enforce only one release action at a time
concurrency:
group: push
cancel-in-progress: false
group: ${{ github.workflow }}
cancel-in-progress: true

jobs:
release:
Expand Down

0 comments on commit 588f92d

Please sign in to comment.