From 4cb3b33c38b6766cf45218b1506c92a5ef28fe31 Mon Sep 17 00:00:00 2001 From: Thomas Thornton Date: Thu, 2 Apr 2026 13:45:17 +0100 Subject: [PATCH 1/2] Disable auto start on Friday & Monday --- .github/workflows/aks-auto-start.yaml | 2 +- .github/workflows/appgateway-auto-start.yaml | 2 +- .github/workflows/bastion-auto-start.yaml | 2 +- .github/workflows/sqlmi-auto-start.yaml | 2 +- .github/workflows/storage-sftp-auto-enable.yaml | 2 +- .github/workflows/vm-auto-start.yaml | 2 +- .github/workflows/vmss-auto-start.yaml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/aks-auto-start.yaml b/.github/workflows/aks-auto-start.yaml index 5301d444..f59f12c6 100644 --- a/.github/workflows/aks-auto-start.yaml +++ b/.github/workflows/aks-auto-start.yaml @@ -2,7 +2,7 @@ name: aks-auto-start on: workflow_dispatch: schedule: - - cron: "30 5 * * 1-5" # Every weekday at 6:30am BST + - cron: "30 5 * * 2-4" # Every weekday at 6:30am BST env: DEV_ENV: ${{ secrets.DEV_ENV }} diff --git a/.github/workflows/appgateway-auto-start.yaml b/.github/workflows/appgateway-auto-start.yaml index 4435f048..13377213 100644 --- a/.github/workflows/appgateway-auto-start.yaml +++ b/.github/workflows/appgateway-auto-start.yaml @@ -2,7 +2,7 @@ name: AppGateway-auto-start on: workflow_dispatch: schedule: - - cron: "30 5 * * 1-5" # Every weekday at 6:30am BST + - cron: "30 5 * * 2-4" # Every weekday at 6:30am BST env: DEV_ENV: ${{ secrets.DEV_ENV }} diff --git a/.github/workflows/bastion-auto-start.yaml b/.github/workflows/bastion-auto-start.yaml index ffbb1b37..58b60366 100644 --- a/.github/workflows/bastion-auto-start.yaml +++ b/.github/workflows/bastion-auto-start.yaml @@ -2,7 +2,7 @@ name: bastion-auto-start on: workflow_dispatch: schedule: - - cron: "30 5 * * 1-5" # Every weekday at 6:30am BST + - cron: "30 5 * * 2-4" # Every weekday at 6:30am BST env: DEV_ENV: ${{ secrets.DEV_ENV }} diff --git a/.github/workflows/sqlmi-auto-start.yaml b/.github/workflows/sqlmi-auto-start.yaml index 013a5025..64664464 100644 --- a/.github/workflows/sqlmi-auto-start.yaml +++ b/.github/workflows/sqlmi-auto-start.yaml @@ -2,7 +2,7 @@ name: sql-managed-instance-auto-start on: workflow_dispatch: schedule: - - cron: "30 5 * * 1-5" # Every weekday at 6:30am BST + - cron: "30 5 * * 2-4" # Every weekday at 6:30am BST env: DEV_ENV: ${{ secrets.DEV_ENV }} diff --git a/.github/workflows/storage-sftp-auto-enable.yaml b/.github/workflows/storage-sftp-auto-enable.yaml index e6c8d50d..a9ffb56d 100644 --- a/.github/workflows/storage-sftp-auto-enable.yaml +++ b/.github/workflows/storage-sftp-auto-enable.yaml @@ -2,7 +2,7 @@ name: storage-sftp-auto-enable on: workflow_dispatch: schedule: - - cron: "30 5 * * 1-5" # Every weekday at 6:30am BST + - cron: "30 5 * * 2-4" # Every weekday at 6:30am BST env: DEV_ENV: ${{ secrets.DEV_ENV }} permissions: diff --git a/.github/workflows/vm-auto-start.yaml b/.github/workflows/vm-auto-start.yaml index 82867019..ded2271f 100644 --- a/.github/workflows/vm-auto-start.yaml +++ b/.github/workflows/vm-auto-start.yaml @@ -2,7 +2,7 @@ name: vm-auto-start on: workflow_dispatch: schedule: - - cron: "30 5 * * 1-5" # Every weekday at 6:30am BST + - cron: "30 5 * * 2-4" # Every weekday at 6:30am BST env: DEV_ENV: ${{ secrets.DEV_ENV }} diff --git a/.github/workflows/vmss-auto-start.yaml b/.github/workflows/vmss-auto-start.yaml index 70be89f1..b942be8d 100644 --- a/.github/workflows/vmss-auto-start.yaml +++ b/.github/workflows/vmss-auto-start.yaml @@ -2,7 +2,7 @@ name: vmss-auto-start on: workflow_dispatch: schedule: - - cron: "30 5 * * 1-5" # Every weekday at 6:30am BST + - cron: "30 5 * * 2-4" # Every weekday at 6:30am BST env: DEV_ENV: ${{ secrets.DEV_ENV }} From 5a4da7a5f7375befee408b174930171f85a3d6eb Mon Sep 17 00:00:00 2001 From: Thomas Thornton Date: Thu, 2 Apr 2026 16:26:27 +0100 Subject: [PATCH 2/2] Update cron schedules to disable auto start on Fridays and Monday --- .github/workflows/auto-start-status-check.yaml | 2 +- .github/workflows/flexibleserver-auto-start.yaml | 2 +- .github/workflows/mysql-flexible-auto-start.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/auto-start-status-check.yaml b/.github/workflows/auto-start-status-check.yaml index 3beb95b6..921b62c0 100644 --- a/.github/workflows/auto-start-status-check.yaml +++ b/.github/workflows/auto-start-status-check.yaml @@ -3,7 +3,7 @@ on: workflow_dispatch: pull_request: schedule: - - cron: "30 6 * * 1-5" # Every weekday at 7:30am BST + - cron: "30 6 * * 2-4" # Every weekday at 7:30am BST env: GH_TOKEN: ${{ secrets.PLATFORM_USER_TOKEN }} SLACK_TOKEN: ${{ secrets.AUTO_SHUTDOWN_STATUS_APP_OAUTH_TOKEN }} diff --git a/.github/workflows/flexibleserver-auto-start.yaml b/.github/workflows/flexibleserver-auto-start.yaml index 946b565c..6a172641 100644 --- a/.github/workflows/flexibleserver-auto-start.yaml +++ b/.github/workflows/flexibleserver-auto-start.yaml @@ -2,7 +2,7 @@ name: flexible-server-auto-start on: workflow_dispatch: schedule: - - cron: "15 5 * * 1-5" # Every weekday at 6:15am BST + - cron: "15 5 * * 2-4" # Every weekday at 6:15am BST env: DEV_ENV: ${{ secrets.DEV_ENV }} diff --git a/.github/workflows/mysql-flexible-auto-start.yaml b/.github/workflows/mysql-flexible-auto-start.yaml index 37895681..2bc0cfcd 100644 --- a/.github/workflows/mysql-flexible-auto-start.yaml +++ b/.github/workflows/mysql-flexible-auto-start.yaml @@ -2,7 +2,7 @@ name: mysql-flexible-auto-start on: workflow_dispatch: schedule: - - cron: "15 5 * * 1-5" # Every weekday at 6:15am BST + - cron: "15 5 * * 2-4" # Every weekday at 6:15am BST env: DEV_ENV: ${{ secrets.DEV_ENV }}