mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-29 18:38:44 +08:00
enhance: [skip e2e]We aim to cancel the previously initiated job or workflow ex… (#29797)
enhance: We aim to cancel the previously initiated job or workflow exclusively during the Pull Request (PR) stage Signed-off-by: Sammy Huang <sammy.huang@zilliz.com>
This commit is contained in:
parent
601a8b801b
commit
24495bd16f
2
.github/workflows/code-checker.yaml
vendored
2
.github/workflows/code-checker.yaml
vendored
@ -29,7 +29,7 @@ on:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
jobs:
|
||||
ubuntu:
|
||||
|
2
.github/workflows/mac.yaml
vendored
2
.github/workflows/mac.yaml
vendored
@ -26,7 +26,7 @@ on:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
jobs:
|
||||
mac:
|
||||
|
2
.github/workflows/main.yaml
vendored
2
.github/workflows/main.yaml
vendored
@ -37,7 +37,7 @@ on:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
|
2
.github/workflows/publish-builder.yaml
vendored
2
.github/workflows/publish-builder.yaml
vendored
@ -18,7 +18,7 @@ on:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
jobs:
|
||||
publish-builder:
|
||||
|
2
.github/workflows/publish-gpu-builder.yaml
vendored
2
.github/workflows/publish-gpu-builder.yaml
vendored
@ -18,7 +18,7 @@ on:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
jobs:
|
||||
publish-gpu-builder:
|
||||
|
2
.github/workflows/publish-krte-images.yaml
vendored
2
.github/workflows/publish-krte-images.yaml
vendored
@ -19,7 +19,7 @@ on:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
jobs:
|
||||
publish-krte-images:
|
||||
|
2
.github/workflows/publish-test-images.yaml
vendored
2
.github/workflows/publish-test-images.yaml
vendored
@ -20,7 +20,7 @@ on:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
jobs:
|
||||
publish-pytest-images:
|
||||
|
Loading…
Reference in New Issue
Block a user