From 551c3b2a98b9f9541bc4a94ef0af5f0bbdcd26c3 Mon Sep 17 00:00:00 2001
From: Mike Alfare <mike.alfare@dbtlabs.com>
Date: Sun, 21 Apr 2024 21:31:06 -0400
Subject: [PATCH] rename weekly maintenance

---
 ...cheduled-repo-maintenance.yml => weekly-maintenance.yml} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename .github/workflows/{scheduled-repo-maintenance.yml => weekly-maintenance.yml} (85%)

diff --git a/.github/workflows/scheduled-repo-maintenance.yml b/.github/workflows/weekly-maintenance.yml
similarity index 85%
rename from .github/workflows/scheduled-repo-maintenance.yml
rename to .github/workflows/weekly-maintenance.yml
index 6565d0b17..c255a0536 100644
--- a/.github/workflows/scheduled-repo-maintenance.yml
+++ b/.github/workflows/weekly-maintenance.yml
@@ -9,15 +9,15 @@
 # - allow automated processes to leave artifacts for debugging and troubleshooting
 #
 # **when?**
-# - every Saturday at noon UTC
+# - weekly base on DBT_WEEKLY_MAINTENANCE_SCHEDULE
 # - manually
 #
 # Runs on Saturday to avoid running at the same time as production release and breaking the release.
-name: "Repo maintenance"
+name: "Weekly maintenance"
 
 on:
     schedule:
-    -   cron: '0 12 * * SAT'  # noon UTC on Saturday
+    -   cron: ${{ vars.DBT_WEEKLY_MAINTENANCE_SCHEDULE }}
     workflow_dispatch:
 
 permissions: