Skip to content

Commit

Permalink
chore(ci): migrate Scheduled workflow to Scheduled pipeline (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
bednar authored Oct 11, 2022
1 parent 567fd94 commit 9ec94d1
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ jobs:
workflows:
version: 2
build:
when:
not:
equal: [ scheduled_pipeline, << pipeline.trigger_source >> ]
jobs:
- tests-php:
name: php-7.4
Expand All @@ -182,12 +185,7 @@ workflows:
- check-code-style

nightly:
triggers:
- schedule:
cron: "0 0 * * *"
filters:
branches:
only:
- master
when:
equal: [ scheduled_pipeline, << pipeline.trigger_source >> ]
jobs:
- tests-php

0 comments on commit 9ec94d1

Please sign in to comment.