mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-08-08 11:27:24 +00:00
[devops] cancel previous runs in the PR (#4546)
This commit is contained in:
parent
f1ae8c9104
commit
c7b60f7547
12
.github/workflows/build_on_pr.yml
vendored
12
.github/workflows/build_on_pr.yml
vendored
@ -61,8 +61,8 @@ jobs:
|
|||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.head_ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
cancel-in-progress: false
|
cancel-in-progress: true
|
||||||
steps:
|
steps:
|
||||||
- name: Copy testmon cache
|
- name: Copy testmon cache
|
||||||
run: | # branch name may contain slash, we need to replace it with space
|
run: | # branch name may contain slash, we need to replace it with space
|
||||||
@ -87,8 +87,8 @@ jobs:
|
|||||||
anyLibraryFileChanged: ${{ steps.find-lib-change.outputs.any_changed }}
|
anyLibraryFileChanged: ${{ steps.find-lib-change.outputs.any_changed }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.head_ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
cancel-in-progress: false
|
cancel-in-progress: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
@ -147,8 +147,8 @@ jobs:
|
|||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.head_ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
cancel-in-progress: false
|
cancel-in-progress: true
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout TensorNVMe
|
- name: Checkout TensorNVMe
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -13,8 +13,8 @@ jobs:
|
|||||||
outputs:
|
outputs:
|
||||||
matrix: ${{ steps.set-matrix.outputs.matrix }}
|
matrix: ${{ steps.set-matrix.outputs.matrix }}
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.head_ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
cancel-in-progress: false
|
cancel-in-progress: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- id: set-matrix
|
- id: set-matrix
|
||||||
@ -44,8 +44,8 @@ jobs:
|
|||||||
options: --gpus all --rm -v /data/scratch/cifar-10:/data/scratch/cifar-10
|
options: --gpus all --rm -v /data/scratch/cifar-10:/data/scratch/cifar-10
|
||||||
timeout-minutes: 120
|
timeout-minutes: 120
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.head_ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
cancel-in-progress: false
|
cancel-in-progress: true
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
8
.github/workflows/doc_check_on_pr.yml
vendored
8
.github/workflows/doc_check_on_pr.yml
vendored
@ -17,8 +17,8 @@ jobs:
|
|||||||
github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'
|
github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.head_ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
cancel-in-progress: false
|
cancel-in-progress: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
@ -35,8 +35,8 @@ jobs:
|
|||||||
github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'
|
github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.head_ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
cancel-in-progress: false
|
cancel-in-progress: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
8
.github/workflows/doc_test_on_pr.yml
vendored
8
.github/workflows/doc_test_on_pr.yml
vendored
@ -20,8 +20,8 @@ jobs:
|
|||||||
any_changed: ${{ steps.changed-files.outputs.any_changed }}
|
any_changed: ${{ steps.changed-files.outputs.any_changed }}
|
||||||
changed_files: ${{ steps.changed-files.outputs.all_changed_files }}
|
changed_files: ${{ steps.changed-files.outputs.all_changed_files }}
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.head_ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
cancel-in-progress: false
|
cancel-in-progress: true
|
||||||
name: Detect changed example files
|
name: Detect changed example files
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@ -63,8 +63,8 @@ jobs:
|
|||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.head_ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
cancel-in-progress: false
|
cancel-in-progress: true
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout ColossalAI-Documentation
|
- name: Checkout ColossalAI-Documentation
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
8
.github/workflows/example_check_on_pr.yml
vendored
8
.github/workflows/example_check_on_pr.yml
vendored
@ -21,8 +21,8 @@ jobs:
|
|||||||
anyChanged: ${{ steps.setup-matrix.outputs.anyChanged }}
|
anyChanged: ${{ steps.setup-matrix.outputs.anyChanged }}
|
||||||
name: Detect changed example files
|
name: Detect changed example files
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.head_ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
cancel-in-progress: false
|
cancel-in-progress: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -81,8 +81,8 @@ jobs:
|
|||||||
options: --gpus all --rm -v /data/scratch/examples-data:/data/
|
options: --gpus all --rm -v /data/scratch/examples-data:/data/
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.head_ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
cancel-in-progress: false
|
cancel-in-progress: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user