From 1c0ee4f09b7e6a6c6bd677dc89d855945308b928 Mon Sep 17 00:00:00 2001 From: kcs-koteswaradodda Date: Tue, 8 Oct 2024 14:21:38 +0530 Subject: [PATCH] added cron and referece branch --- .github/workflows/vertx-parent.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/vertx-parent.yaml b/.github/workflows/vertx-parent.yaml index cf90ad8..42da821 100644 --- a/.github/workflows/vertx-parent.yaml +++ b/.github/workflows/vertx-parent.yaml @@ -4,6 +4,8 @@ on: push: pull_request: workflow_dispatch: + schedule: + - cron: '0 0 * * *' # Cron job to run daily at midnight (UTC) jobs: test: @@ -120,3 +122,4 @@ jobs: run: | echo "Deploying snapshots" mvn -s $HOME/.m2/settings.xml -Dmaven.wagon.http.retryHandler.count=3 --batch-mode -e -DskipTests=true deploy + if: github.ref == 'refs/heads/master'