Skip to content

chore(ci): run Security Updates weekly instead of daily - #93

Merged
albertotb merged 1 commit into
mainfrom
chore/security-updates-weekly
Jul 31, 2026
Merged

chore(ci): run Security Updates weekly instead of daily#93
albertotb merged 1 commit into
mainfrom
chore/security-updates-weekly

Conversation

@albertotb

Copy link
Copy Markdown
Member

Changes the Security Updates workflow from a daily schedule (03:30 UTC) to a weekly one (Mondays 03:37 UTC). Exactly one line changes; nothing else in the file is touched.

-    - cron: "30 3 * * *"
+    - cron: "37 3 * * 1"

Why

  • This repo runs the workflow ~29x/month at ~1.0 billed minute per run. Across the 10 affected repos that is ~145 billed min/month, essentially all of it per-job minimum-minute rounding — the job itself finishes in well under 60s.

  • Komorebi-AI hit 100% of its ~3,200 min/month Actions allowance in July (3,212 min used). This is one of three consolidations to get back under it.

  • Reducing the detection cadence is safe here because detection was never the bottleneck — merging is. asistente-licitaciones PR #405 has been open since 27 June carrying fixes for 32 high-severity alerts, and its oldest open alert dates from 14 April (~108 days). Going from 1-day to 7-day detection latency is immaterial next to a ~100-day merge latency.

  • This repo is included deliberately: it is the scaffold other repos are generated from, so changing it here stops newly generated repos inheriting the daily schedule.

This does not weaken the fix path

Only the cadence changes. 103 of 104 open alerts org-wide carry a verified patched version, and for those the bot passes --exclude-newer-package <pkg>=<now>, which bypasses the repo's exclude-newer = "7 days" uv policy. workflow_dispatch is also untouched, so the workflow can still be run on demand at any time.

The :37 minute (rather than :30) is deliberate — GitHub delays scheduled workflows that pile onto the :00/:30 marks.

https://claude.ai/code/session_01Xke8d7un3d7fBQcLHrkWr8

The job finishes in well under a minute but is billed a full minute per
run, so ~29 daily runs/month is almost entirely rounding overhead.
Detection cadence is not the bottleneck for these alerts; merge latency
is. Moves to Mondays 03:37 UTC.

Claude-Session: https://claude.ai/code/session_01Xke8d7un3d7fBQcLHrkWr8
@albertotb
albertotb merged commit ee0d9e3 into main Jul 31, 2026
2 checks passed
@albertotb
albertotb deleted the chore/security-updates-weekly branch July 31, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant