From 90c5c0f6dd8b02870b4dd03db0f0ca3f62ea973b Mon Sep 17 00:00:00 2001 From: Artur Shiriev Date: Sun, 20 Sep 2026 13:26:27 +0300 Subject: [PATCH] ci: run the scheduled dependency check daily The check resolves dependencies fresh on every run, so its only job is to find a breaking release before a contributor does. A weekly cadence means up to seven days between a release and the report; on this repo the window was long enough that faststream 0.7.6 landed, broke the build, and was found by hand rather than by the cron. The repo is public, so the extra runs cost no Actions minutes, and the failure reporter already dedupes: the first failure opens one issue and later ones comment on it, which now reads as a daily cadence rather than a weekly one. Dropped "weekly" from the label description and the issue body, which the schedule no longer matched. --- .github/scripts/report-scheduled-failure.sh | 4 ++-- .github/workflows/scheduled.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/scripts/report-scheduled-failure.sh b/.github/scripts/report-scheduled-failure.sh index 7065008..1a0f5f7 100755 --- a/.github/scripts/report-scheduled-failure.sh +++ b/.github/scripts/report-scheduled-failure.sh @@ -8,7 +8,7 @@ TITLE="Scheduled dependency check failed" # updates color/description without error if present. gh label create "$LABEL" \ --color "FBCA04" \ - --description "Weekly dependency check failures" \ + --description "Scheduled dependency check failures" \ --force # Find an open issue with our label, if any. --jq '.[0].number // empty' @@ -17,7 +17,7 @@ existing=$(gh issue list --label "$LABEL" --state open --json number --jq '.[0]. if [ -z "$existing" ]; then body=$(printf '%s\n\n%s\n\n%s\n\n%s' \ - "The weekly scheduled dependency check failed." \ + "The scheduled dependency check failed." \ "First failing run: ${RUN_URL}" \ "Likely cause: a transitive dev or lint dependency (ruff, ty, eof-fixer, pytest, typing-extensions) released a breaking change. Reproduce locally with \`just install\` then \`just lint\` and \`just test\`." \ "Close this issue once fixed. The next scheduled failure will open a fresh issue.") diff --git a/.github/workflows/scheduled.yml b/.github/workflows/scheduled.yml index b1fe433..81d81ec 100644 --- a/.github/workflows/scheduled.yml +++ b/.github/workflows/scheduled.yml @@ -1,7 +1,7 @@ name: scheduled-dep-check on: schedule: - - cron: "0 6 * * 1" # Mondays 06:00 UTC + - cron: "0 6 * * *" # Daily 06:00 UTC workflow_dispatch: {} concurrency: