From fd20a2c0a49242d80439af7a7888385a0e2e1e85 Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Fri, 13 Oct 2023 11:55:26 +1300 Subject: [PATCH] Only clone on cron event --- .woodpecker/cron.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.woodpecker/cron.yml b/.woodpecker/cron.yml index 864d12c..4eee1b9 100644 --- a/.woodpecker/cron.yml +++ b/.woodpecker/cron.yml @@ -6,9 +6,16 @@ matrix: MOLECULE_SCENARIO: fixed-mirror - MOLECULE_DISTRO: almalinux8 MOLECULE_SCENARIO: fixed-mirror - when: - event: [ cron ] - + +clone: + git: + image: woodpeckerci/plugin-git + settings: + recursive: true + submodule_update_remote: true +when: + event: [ cron ] + steps: test: name: Test on ${MOLECULE_DISTRO}