Skip to content

Commit 9ec94d1

Browse files
authored
chore(ci): migrate Scheduled workflow to Scheduled pipeline (#132)
1 parent 567fd94 commit 9ec94d1

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.circleci/config.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@ jobs:
157157
workflows:
158158
version: 2
159159
build:
160+
when:
161+
not:
162+
equal: [ scheduled_pipeline, << pipeline.trigger_source >> ]
160163
jobs:
161164
- tests-php:
162165
name: php-7.4
@@ -182,12 +185,7 @@ workflows:
182185
- check-code-style
183186

184187
nightly:
185-
triggers:
186-
- schedule:
187-
cron: "0 0 * * *"
188-
filters:
189-
branches:
190-
only:
191-
- master
188+
when:
189+
equal: [ scheduled_pipeline, << pipeline.trigger_source >> ]
192190
jobs:
193191
- tests-php

0 commit comments

Comments
 (0)