Skip to content

Commit bc608e7

Browse files
authored
chore(ci): migrate Scheduled workflow to Scheduled pipeline (influxdata#513)
1 parent 50f021e commit bc608e7

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
@@ -172,6 +172,9 @@ jobs:
172172
workflows:
173173
version: 2
174174
build:
175+
when:
176+
not:
177+
equal: [ scheduled_pipeline, << pipeline.trigger_source >> ]
175178
jobs:
176179
- check-code-style
177180
- check-docstyle
@@ -197,13 +200,8 @@ workflows:
197200
python-image: "cimg/python:3.10"
198201

199202
nightly:
200-
triggers:
201-
- schedule:
202-
cron: "0 0 * * *"
203-
filters:
204-
branches:
205-
only:
206-
- master
203+
when:
204+
equal: [ scheduled_pipeline, << pipeline.trigger_source >> ]
207205
jobs:
208206
- tests-python
209207
- check-aws-lambda-layer

0 commit comments

Comments
 (0)