From 5b3be4e1da1e77496d69e4afa0286a3f684866c1 Mon Sep 17 00:00:00 2001 From: Emil Natan Date: Wed, 7 Feb 2024 10:54:36 +0200 Subject: [PATCH] Add cronjob trigger to OSP nightly workflow The intention always was to use a scheduler to execute the workflow daily. The manual trigger is kept for both easier testing and emergency updates. --- .github/workflows/update-osp-nightly.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-osp-nightly.yaml b/.github/workflows/update-osp-nightly.yaml index 958f667f4..7c1a97eac 100644 --- a/.github/workflows/update-osp-nightly.yaml +++ b/.github/workflows/update-osp-nightly.yaml @@ -1,7 +1,10 @@ --- name: update-osp-nightly run-name: Check for OSP nightly and create a PR -on: workflow_dispatch +on: + schedule: + - cron: '10 1 * * *' + workflow_dispatch: permissions: {} # drop all permissions; the default triggers codecov failure jobs: update-osp-nightly: