From 122f57ac67d93aa53d1d929e72233f708d9a3f31 Mon Sep 17 00:00:00 2001 From: LinZhihao-723 Date: Sat, 9 Nov 2024 23:04:37 -0500 Subject: [PATCH] Add scheduled workflow --- .github/workflows/clp-core-build-macos.yaml | 3 +++ .github/workflows/clp-core-build.yaml | 3 +++ .github/workflows/clp-docs.yaml | 3 +++ .github/workflows/clp-execution-image-build.yaml | 3 +++ 4 files changed, 12 insertions(+) diff --git a/.github/workflows/clp-core-build-macos.yaml b/.github/workflows/clp-core-build-macos.yaml index 85d04d9c7..90c7cbd6f 100644 --- a/.github/workflows/clp-core-build-macos.yaml +++ b/.github/workflows/clp-core-build-macos.yaml @@ -27,6 +27,9 @@ on: - "deps-tasks.yml" - "Taskfile.yml" - "tools/scripts/deps-download/**" + schedule: + # Run at midnight UTC every day with 15 minutes delay added to avoid high load periods + - cron: "15 0 * * *" workflow_dispatch: concurrency: diff --git a/.github/workflows/clp-core-build.yaml b/.github/workflows/clp-core-build.yaml index 9046f15da..e68cfa47a 100644 --- a/.github/workflows/clp-core-build.yaml +++ b/.github/workflows/clp-core-build.yaml @@ -23,6 +23,9 @@ on: - "Taskfile.yml" - "tools/scripts/deps-download/**" - "!components/core/tools/scripts/lib_install/macos/**" + schedule: + # Run at midnight UTC every day with 15 minutes delay added to avoid high load periods + - cron: "15 0 * * *" workflow_dispatch: env: diff --git a/.github/workflows/clp-docs.yaml b/.github/workflows/clp-docs.yaml index 2f0a68e77..91ac4fddd 100644 --- a/.github/workflows/clp-docs.yaml +++ b/.github/workflows/clp-docs.yaml @@ -3,6 +3,9 @@ name: "clp-docs" on: pull_request: push: + schedule: + # Run at midnight UTC every day with 15 minutes delay added to avoid high load periods + - cron: "15 0 * * *" workflow_dispatch: concurrency: diff --git a/.github/workflows/clp-execution-image-build.yaml b/.github/workflows/clp-execution-image-build.yaml index d0bc5b017..58b12c577 100644 --- a/.github/workflows/clp-execution-image-build.yaml +++ b/.github/workflows/clp-execution-image-build.yaml @@ -11,6 +11,9 @@ on: - ".github/actions/clp-execution-image-build/action.yaml" - ".github/workflows/clp-execution-image-build.yaml" - "tools/docker-images/**/*" + schedule: + # Run at midnight UTC every day with 15 minutes delay added to avoid high load periods + - cron: "15 0 * * *" workflow_dispatch: concurrency: