Skip to content

Commit effba9d

Browse files
authored
chore(ci): run the dependency check daily instead of weekly (#233)
1 parent 0b45991 commit effba9d

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

‎.github/scripts/report-scheduled-failure.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ TITLE="Scheduled dependency check failed"
88
# updates color/description without error if present.
99
gh label create "$LABEL" \
1010
--color "FBCA04" \
11-
--description "Weekly dependency check failures" \
11+
--description "Scheduled dependency check failures" \
1212
--force
1313

1414
# 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].
1717

1818
if [ -z "$existing" ]; then
1919
body=$(printf '%s\n\n%s\n\n%s\n\n%s\n\n%s' \
20-
"The weekly scheduled dependency check failed." \
20+
"The scheduled dependency check failed." \
2121
"First failing run: ${RUN_URL}" \
2222
"Likely cause, if a lint or pytest job failed: a 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\`." \
2323
"Likely cause, if a lowest-direct job failed: a declared floor in \`pyproject.toml\` no longer installs or bootstraps, usually because an upstream package changed metadata under it. Reproduce with \`uv pip install --resolution lowest-direct '.[<extras>]'\` then \`python scripts/floor_smoke.py <target>\`, reading both off the failing job's matrix." \

‎.github/workflows/scheduled.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: scheduled-dep-check
22
on:
33
schedule:
4-
- cron: "0 6 * * 1" # Mondays 06:00 UTC
4+
# Daily: both resolutions here are unpinned, so an upstream release can break main
5+
# between runs. Daily bounds that window at a day and attributes the failure to upstream
6+
# (a tracking issue) instead of to whichever pull request happens to run next.
7+
- cron: "0 6 * * *" # daily 06:00 UTC
58
workflow_dispatch: {}
69

710
concurrency:

0 commit comments

Comments
 (0)