Procházet zdrojové kódy

Shift GitHub build actions to Sunday and 9th of month

marionbarker před 10 měsíci
rodič
revize
1e3f51b47e
1 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 4 4
      .github/workflows/build_LoopFollow.yml

+ 4 - 4
.github/workflows/build_LoopFollow.yml

@@ -7,9 +7,9 @@ on:
   #push:
   #push:
 
 
   schedule:
   schedule:
-    # avoid starting an action at xx:00 when GitHub resources are impacted
-    - cron: "17 12 * * 3" # Checks for updates at 12:17 UTC every Wednesday
-    - cron: "17 10 1 * *" # Builds the app on the 1st of every month at 10:17 UTC
+    # avoid starting an action at times when GitHub resources are impacted
+    - cron: "17 12 * * 0" # Checks for updates at 12:17 UTC every Sunday
+    - cron: "17 10 9 * *" # Builds the app on the 9th of every month at 10:17 UTC
 
 
 env:  
 env:  
   UPSTREAM_REPO: loopandlearn/LoopFollow
   UPSTREAM_REPO: loopandlearn/LoopFollow
@@ -198,7 +198,7 @@ jobs:
       | # runs if started manually, or if sync schedule is set and enabled and scheduled on the first Saturday each month, or if sync schedule is set and enabled and new commits were found
       | # runs if started manually, or if sync schedule is set and enabled and scheduled on the first Saturday each month, or if sync schedule is set and enabled and new commits were found
       github.event_name == 'workflow_dispatch' ||
       github.event_name == 'workflow_dispatch' ||
       (needs.check_alive_and_permissions.outputs.WORKFLOW_PERMISSION == 'true' &&
       (needs.check_alive_and_permissions.outputs.WORKFLOW_PERMISSION == 'true' &&
-        (vars.SCHEDULED_BUILD != 'false' && github.event.schedule == '17 10 1 * *') ||
+        (vars.SCHEDULED_BUILD != 'false' && github.event.schedule == '17 10 9 * *') ||
         (vars.SCHEDULED_SYNC != 'false' && needs.check_latest_from_upstream.outputs.NEW_COMMITS == 'true' )
         (vars.SCHEDULED_SYNC != 'false' && needs.check_latest_from_upstream.outputs.NEW_COMMITS == 'true' )
       )
       )
     steps:
     steps: