From 80ae595653ba9970f81fbc92b037d2f2ffd09398 Mon Sep 17 00:00:00 2001 From: Anton-Latukha Date: Wed, 1 Dec 2021 15:25:27 +0200 Subject: [PATCH 1/2] CI: cache-deps: rm pull request hook I needed to remove https://github.com/haskell/haskell-language-server/pull/2419/commits/b0621d74904ee8bfb27e1452bcb64b0e8c620736 before merge. That is my fault, I should be more conservative between draft<->mergable PR. --- .github/workflows/cache-deps.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/cache-deps.yml b/.github/workflows/cache-deps.yml index cbcd67fd3d..56a03119fc 100644 --- a/.github/workflows/cache-deps.yml +++ b/.github/workflows/cache-deps.yml @@ -18,9 +18,6 @@ on: schedule: # Try to save snapshot every day at 03:45 UTC (~21:45 in California) - cron: "45 3 * * *" - pull_request: - branches: - - '**' jobs: pre_job: From bcfbde9f087d394b66facf3585c73c78677d0720 Mon Sep 17 00:00:00 2001 From: Anton-Latukha Date: Wed, 1 Dec 2021 15:54:58 +0200 Subject: [PATCH 2/2] CI: cache-deps: shift cache regeneration time Since most contributors are in the US & EU, & lets pretend they contribute between 17:00 - 00:30 - this cache time seems better. --- .github/workflows/cache-deps.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cache-deps.yml b/.github/workflows/cache-deps.yml index 56a03119fc..98935839c9 100644 --- a/.github/workflows/cache-deps.yml +++ b/.github/workflows/cache-deps.yml @@ -16,8 +16,8 @@ on: branches: - master schedule: - # Try to save snapshot every day at 03:45 UTC (~21:45 in California) - - cron: "45 3 * * *" + # Try to save snapshot every day at 08:25 UTC (~00:25 in California) + - cron: "25 8 * * *" jobs: pre_job: