From b96e7a2343c86b63abae6394b5f631ef2bd7299f Mon Sep 17 00:00:00 2001 From: s0lray Date: Wed, 25 Mar 2026 15:39:02 -0400 Subject: [PATCH] Restrict link-check to weekly schedule only, move to Saturday (THE-95) - Remove push-to-master trigger from link-check job; it now runs only on the weekly cron schedule to avoid hammering external sites on every push - Change schedule from Sunday 02:00 UTC to Saturday 08:00 UTC as requested Co-Authored-By: Paperclip --- .github/workflows/ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d489bf7..610f217 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,8 +6,8 @@ on: pull_request: branches: [master] schedule: - # Run link check weekly on Sunday at 02:00 UTC - - cron: '0 2 * * 0' + # Run link check weekly on Saturday at 08:00 UTC + - cron: '0 8 * * 6' jobs: json-lint: @@ -44,9 +44,8 @@ jobs: link-check: name: Link Check runs-on: ubuntu-latest - # Only run on schedule and direct pushes to master, not on every PR - # (avoids hammering external sites during code review) - if: github.event_name == 'schedule' || (github.event_name == 'push' && github.ref == 'refs/heads/master') + # Only run on schedule (weekly Saturday) — avoid hammering external sites on every push/PR + if: github.event_name == 'schedule' steps: - uses: actions/checkout@v4