From 67abd6342f5d267048b64adc52bedabe2139d210 Mon Sep 17 00:00:00 2001 From: Evgeny Malygin Date: Tue, 26 Nov 2024 17:56:56 +0200 Subject: [PATCH] CI: rebuild deps cache from the main branch nightly (#532) Caches generated from other branches are not cross-accessible, so it has to be done from the main branch Signed-off-by: Evgeny Malygin --- .github/workflows/dependencies.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/dependencies.yaml b/.github/workflows/dependencies.yaml index 4e86d1a95..469c340f2 100644 --- a/.github/workflows/dependencies.yaml +++ b/.github/workflows/dependencies.yaml @@ -6,6 +6,10 @@ on: cache_key: description: "GH Actions Cache key associated with the built dependencies" value: ${{ jobs.build_dependencies.outputs.cache_key }} + schedule: + # Rebuild dependencies cache from the "main" branch at the beginning of a new day, + # so it is accessible from other branches' PRs + - cron: "10 0 * * *" concurrency: group: deps-${{ github.workflow }}-${{ github.head_ref || github.run_id }}