From fc6e9925dae64f5b5b34c1c14738fb8c60fec8de Mon Sep 17 00:00:00 2001 From: Rob Dimsdale-Zucker Date: Thu, 5 Oct 2023 10:34:38 -0700 Subject: [PATCH] Separate cron schedules for recurring workflows --- .github/workflows/update-tools.yml | 2 +- builder/.github/workflows/update-builder-toml.yml | 2 +- builder/.github/workflows/update-github-config.yml | 2 +- implementation/.github/workflows/codeql-analysis.yml | 2 +- .../.github/workflows/update-dependencies-from-metadata.yml | 3 +-- implementation/.github/workflows/update-github-config.yml | 2 +- language-family/.github/workflows/create-release-issue.yml | 2 +- language-family/.github/workflows/update-buildpack-toml.yml | 2 +- language-family/.github/workflows/update-github-config.yml | 2 +- library/.github/workflows/codeql-analysis.yml | 2 +- library/.github/workflows/update-github-config.yml | 2 +- stack/.github/workflows/create-release.yml | 2 +- stack/.github/workflows/update-github-config.yml | 2 +- 13 files changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/workflows/update-tools.yml b/.github/workflows/update-tools.yml index 80d57427..8a5f3c64 100644 --- a/.github/workflows/update-tools.yml +++ b/.github/workflows/update-tools.yml @@ -3,7 +3,7 @@ name: Update Tools on: schedule: - - cron: '0 0 * * *' + - cron: '42 19 * * *' # daily at 19:42 UTC workflow_dispatch: {} concurrency: tools_update diff --git a/builder/.github/workflows/update-builder-toml.yml b/builder/.github/workflows/update-builder-toml.yml index e14cb2bf..38a0db7b 100644 --- a/builder/.github/workflows/update-builder-toml.yml +++ b/builder/.github/workflows/update-builder-toml.yml @@ -2,7 +2,7 @@ name: Update builder.toml and Send Pull Request on: schedule: - - cron: '10 */1 * * *' + - cron: '36 0,12 * * *' # daily at 00:36 and 12:36 UTC workflow_dispatch: {} concurrency: builder_update diff --git a/builder/.github/workflows/update-github-config.yml b/builder/.github/workflows/update-github-config.yml index 64dc00a3..02790ce0 100644 --- a/builder/.github/workflows/update-github-config.yml +++ b/builder/.github/workflows/update-github-config.yml @@ -2,7 +2,7 @@ name: Update shared github-config on: schedule: - - cron: '30 0 * * *' + - cron: '47 8 * * *' # daily at 08:46 UTC workflow_dispatch: {} concurrency: github_config_update diff --git a/implementation/.github/workflows/codeql-analysis.yml b/implementation/.github/workflows/codeql-analysis.yml index 3d8768bf..09253a6d 100644 --- a/implementation/.github/workflows/codeql-analysis.yml +++ b/implementation/.github/workflows/codeql-analysis.yml @@ -6,7 +6,7 @@ on: pull_request: branches: [ main ] schedule: - - cron: '0 0 * * *' # Once a day at midnight + - cron: '34 5 * * *' # daily at 5:34am UTC jobs: analyze: diff --git a/implementation/.github/workflows/update-dependencies-from-metadata.yml b/implementation/.github/workflows/update-dependencies-from-metadata.yml index f352bec5..905fe50a 100644 --- a/implementation/.github/workflows/update-dependencies-from-metadata.yml +++ b/implementation/.github/workflows/update-dependencies-from-metadata.yml @@ -2,9 +2,8 @@ name: Update Dependencies From Metadata (Retrieve, Metadata, Compile, Test, Crea on: workflow_dispatch: - # https://crontab.guru/every-12-hours schedule: - - cron: '0 */12 * * *' + - cron: '57 13 * * *' # daily at 13:57 UTC jobs: retrieve: diff --git a/implementation/.github/workflows/update-github-config.yml b/implementation/.github/workflows/update-github-config.yml index 74996635..79164ac6 100644 --- a/implementation/.github/workflows/update-github-config.yml +++ b/implementation/.github/workflows/update-github-config.yml @@ -2,7 +2,7 @@ name: Update shared github-config on: schedule: - - cron: '30 1 * * *' + - cron: '27 13 * * *' # daily at 13:27 UTC workflow_dispatch: {} concurrency: github_config_update diff --git a/language-family/.github/workflows/create-release-issue.yml b/language-family/.github/workflows/create-release-issue.yml index d06b0f96..6b058811 100644 --- a/language-family/.github/workflows/create-release-issue.yml +++ b/language-family/.github/workflows/create-release-issue.yml @@ -2,7 +2,7 @@ name: Create reminder issue for buildpack releases on: schedule: - - cron: '0 3 * * MON ' + - cron: '54 3 * * MON' # every Monday at 3:54am UTC workflow_dispatch: {} jobs: diff --git a/language-family/.github/workflows/update-buildpack-toml.yml b/language-family/.github/workflows/update-buildpack-toml.yml index 32af4097..cb4abfee 100644 --- a/language-family/.github/workflows/update-buildpack-toml.yml +++ b/language-family/.github/workflows/update-buildpack-toml.yml @@ -2,7 +2,7 @@ name: Update buildpack.toml on: schedule: - - cron: '30 */6 * * *' + - cron: '1 6 * * *' # daily at 06:01 UTC workflow_dispatch: {} concurrency: buildpack_update diff --git a/language-family/.github/workflows/update-github-config.yml b/language-family/.github/workflows/update-github-config.yml index 55857763..d4c6a3d5 100644 --- a/language-family/.github/workflows/update-github-config.yml +++ b/language-family/.github/workflows/update-github-config.yml @@ -2,7 +2,7 @@ name: Update shared github-config on: schedule: - - cron: '30 2 * * *' + - cron: '20 17 * * *' # daily at 17:20 UTC workflow_dispatch: {} concurrency: github_config_update diff --git a/library/.github/workflows/codeql-analysis.yml b/library/.github/workflows/codeql-analysis.yml index ac16d686..f7c35e62 100644 --- a/library/.github/workflows/codeql-analysis.yml +++ b/library/.github/workflows/codeql-analysis.yml @@ -10,7 +10,7 @@ on: - main - v* schedule: - - cron: '0 0 * * *' # Once a day at midnight + - cron: '24 18 * * *' # daily at 18:24 UTC jobs: analyze: diff --git a/library/.github/workflows/update-github-config.yml b/library/.github/workflows/update-github-config.yml index 90d512fc..8c100eb1 100644 --- a/library/.github/workflows/update-github-config.yml +++ b/library/.github/workflows/update-github-config.yml @@ -2,7 +2,7 @@ name: Update shared github-config on: schedule: - - cron: '30 1 * * *' + - cron: '16 19 * * *' # daily at 19:16 UTC workflow_dispatch: {} concurrency: github_config_update diff --git a/stack/.github/workflows/create-release.yml b/stack/.github/workflows/create-release.yml index a058be15..a84fe695 100644 --- a/stack/.github/workflows/create-release.yml +++ b/stack/.github/workflows/create-release.yml @@ -2,7 +2,7 @@ name: Create Release on: schedule: - - cron: '*/30 * * * *' # every 30 minutes + - cron: '27 2,14 * * *' # daily at 02:27 and 14:27 UTC push: branches: - main diff --git a/stack/.github/workflows/update-github-config.yml b/stack/.github/workflows/update-github-config.yml index b11e58f9..0287559a 100644 --- a/stack/.github/workflows/update-github-config.yml +++ b/stack/.github/workflows/update-github-config.yml @@ -2,7 +2,7 @@ name: Update shared github-config on: schedule: - - cron: '30 3 * * *' + - cron: '44 3 * * *' # daily at 3:44 AM UTC workflow_dispatch: {} concurrency: github_config_update