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 e597432
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 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 }}-${{ github.ref }}
# cancel-in-progress: false

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 }}-${{ github.ref }}
# cancel-in-progress: false

jobs:
test:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e597432

Please sign in to comment.