[MINOR][INFRA] Do not cancel GHA jobs on committing to main/branch-* branches
### What changes were proposed in this pull request? As the title. ### Why are the changes needed? To avoid canceling GHA jobs after quickly merging more than one PRs in a short time. <img width="867" alt="image" src="https://github.com/user-attachments/assets/fe34ee02-3dd5-4b10-89f2-3826031d1bf4" /> ### Does this PR introduce _any_ user-facing change? No, dev-only. ### How was this patch tested? Monitor after merging. Closes #3235 from pan3793/minor-cancel-ci. Authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: Cheng Pan <chengpan@apache.org>
This commit is contained in:
parent
f22e8ee7d8
commit
a063622598
2
.github/workflows/license.yml
vendored
2
.github/workflows/license.yml
vendored
@ -26,7 +26,7 @@ on:
|
||||
- branch-*
|
||||
|
||||
concurrency:
|
||||
group: license-${{ github.ref }}
|
||||
group: license-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
||||
2
.github/workflows/style.yml
vendored
2
.github/workflows/style.yml
vendored
@ -28,7 +28,7 @@ on:
|
||||
- branch-*
|
||||
|
||||
concurrency:
|
||||
group: style-${{ github.ref }}
|
||||
group: style-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
||||
2
.github/workflows/web_lint.yml
vendored
2
.github/workflows/web_lint.yml
vendored
@ -28,7 +28,7 @@ on:
|
||||
- branch-*
|
||||
|
||||
concurrency:
|
||||
group: style-web-${{ github.ref }}
|
||||
group: style-web-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user