From 6bf476f069a502e47fe5ca840393f2c694a4fa9c Mon Sep 17 00:00:00 2001 From: dazedbear Date: Tue, 20 Feb 2024 03:06:44 +0800 Subject: [PATCH] ci: adjust cronjob frequency to reduce the usage of KV (#108) * ci: revert cronjob freq from daily to few days * ci: disable schedule functional testing --- .github/workflows/failsafe.yml | 4 ++-- .github/workflows/playwright.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/failsafe.yml b/.github/workflows/failsafe.yml index bc64656..e8e63b7 100644 --- a/.github/workflows/failsafe.yml +++ b/.github/workflows/failsafe.yml @@ -5,8 +5,8 @@ on: pull_request: branches: [main] schedule: - # 18:00 GMT+8 every day - - cron: '0 10 * * *' + # 18:00 GMT+8 every Monday + - cron: '0 10 * * 1' env: AWS_REGION: ${{ secrets.AWS_REGION }} diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index b464ddc..0423d9b 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -4,9 +4,9 @@ on: branches: [main] pull_request: branches: [main] - schedule: - # 18:30 GMT+8 every day - - cron: '30 10 * * *' + # schedule: + # 18:30 GMT+8 every Monday and Thursday + # - cron: '30 10 * * 1,4' jobs: wait-for-deployment: