From f7cd3356c9db80e9c23979790e63e0b50eee0e21 Mon Sep 17 00:00:00 2001 From: Rami Souai Date: Tue, 15 Feb 2022 17:35:42 +0100 Subject: [PATCH] Trigger CI pipeline nightly build with zap-advanced tests Signed-off-by: Rami Souai --- .github/workflows/ci.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0a84abb784..fe30c600ad 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,7 +3,10 @@ # SPDX-License-Identifier: Apache-2.0 name: "CI" -on: push +on: + push: + schedule: + - cron: "15 2 * * *" # Nightly-Build at 2:15 AM UTC env: # ---- Language Versions ---- @@ -892,7 +895,7 @@ jobs: - name: "ZAP Extended Integration Tests" # disable zap extended test temporarily as they slow down the pipeline too much - if: ${{ false }} + if: ${{ github.event_name == 'schedule' }} run: | kubectl -n integration-tests delete scans --all helm -n integration-tests install zap-advanced ./scanners/zap-advanced/ \