mirror of https://github.com/hpcaitech/ColossalAI
[workflow] fixed the skip condition of example weekly check workflow (#2481)
parent
21c88220ce
commit
579dba572f
|
@ -81,9 +81,8 @@ jobs:
|
||||||
# This is for all files' weekly check. Specifically, this job is to find all the directories.
|
# This is for all files' weekly check. Specifically, this job is to find all the directories.
|
||||||
matrix_preparation:
|
matrix_preparation:
|
||||||
if: |
|
if: |
|
||||||
github.event.pull_request.draft == false &&
|
github.repository == 'hpcaitech/ColossalAI' &&
|
||||||
github.base_ref == 'main' &&
|
github.event_name == 'schedule'
|
||||||
github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI' && github.event_name == 'schedule'
|
|
||||||
name: Prepare matrix for weekly check
|
name: Prepare matrix for weekly check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
|
@ -101,9 +100,8 @@ jobs:
|
||||||
|
|
||||||
weekly_check:
|
weekly_check:
|
||||||
if: |
|
if: |
|
||||||
github.event.pull_request.draft == false &&
|
github.repository == 'hpcaitech/ColossalAI' &&
|
||||||
github.base_ref == 'main' &&
|
github.event_name == 'schedule'
|
||||||
github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI' && github.event_name == 'schedule'
|
|
||||||
name: Weekly check all examples
|
name: Weekly check all examples
|
||||||
needs: matrix_preparation
|
needs: matrix_preparation
|
||||||
runs-on: [self-hosted, gpu]
|
runs-on: [self-hosted, gpu]
|
||||||
|
|
Loading…
Reference in New Issue