chore: don't run legacy pipeline when warming (#634)
This commit is contained in:
parent
8cf7e6f995
commit
7402da72c1
|
@ -26,8 +26,14 @@ jobs:
|
|||
docker:
|
||||
- image: cimg/base:2023.03
|
||||
steps:
|
||||
- checkout
|
||||
- run: echo "this is an example of legacy non-workflows job"
|
||||
- when:
|
||||
condition:
|
||||
and:
|
||||
- not:
|
||||
equal: [scheduled_pipeline, << pipeline.trigger_source >>]
|
||||
steps:
|
||||
- checkout
|
||||
- run: echo "this is an example of legacy non-workflows job"
|
||||
|
||||
workflows:
|
||||
default-workflow:
|
||||
|
|
Loading…
Reference in New Issue