From 83f41321dfa37ef44362dd76d35f2a058f18cd44 Mon Sep 17 00:00:00 2001 From: Krithikj20 <100186709+Krithikj20@users.noreply.github.com> Date: Mon, 1 Apr 2024 10:45:21 +0530 Subject: [PATCH] Set cron at 00:00 maven.yml --- .github/workflows/maven.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 5912c1b..568a786 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -9,10 +9,8 @@ name: Java CI with Maven on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] + schedule: + - cron: '0 0 * * *' # Runs every day at midnight UTC jobs: build: