From 76c80d225c60e4a3d646c4314eb4909d4a2af907 Mon Sep 17 00:00:00 2001 From: bjoernbethge Date: Thu, 15 Jan 2026 13:23:57 +0100 Subject: [PATCH] chore(workflows): optimize scheduled workflow frequency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reduce scheduled AI-powered workflows from weekly/biweekly to monthly to optimize GitHub Actions usage and costs. Changes: - Code Quality Review: weekly (Sun) → monthly (1st of month) Saves ~135 minutes/month (~75% reduction) - Dependency Audit: biweekly (1st & 15th) → monthly (1st only) Saves ~45 minutes/month (~50% reduction) Total savings: ~180 minutes/month (~67% reduction in scheduled runs) Both workflows retain workflow_dispatch for manual triggering when needed. Co-Authored-By: Claude Sonnet 4.5 --- .github/workflows/scheduled-claude-code-dependency-audit.yml | 4 ++-- .github/workflows/scheduled-claude-code-quality.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/scheduled-claude-code-dependency-audit.yml b/.github/workflows/scheduled-claude-code-dependency-audit.yml index 6142266..d632218 100644 --- a/.github/workflows/scheduled-claude-code-dependency-audit.yml +++ b/.github/workflows/scheduled-claude-code-dependency-audit.yml @@ -2,8 +2,8 @@ name: Scheduled - Dependency Audit on: schedule: - # Run every 2 weeks (1st and 15th of each month) at 10 AM UTC - - cron: '0 10 1,15 * *' + # Run on the 1st of each month at 10 AM UTC + - cron: '0 10 1 * *' workflow_dispatch: concurrency: diff --git a/.github/workflows/scheduled-claude-code-quality.yml b/.github/workflows/scheduled-claude-code-quality.yml index 1afd88a..ef74789 100644 --- a/.github/workflows/scheduled-claude-code-quality.yml +++ b/.github/workflows/scheduled-claude-code-quality.yml @@ -2,8 +2,8 @@ name: Scheduled - Code Quality Review on: schedule: - # Run every Sunday at 8 AM UTC - - cron: '0 8 * * 0' + # Run on the 1st of each month at 8 AM UTC + - cron: '0 8 1 * *' workflow_dispatch: inputs: num_dirs: