Skip to content

Commit e9b014e

Browse files
authored
ci: run the scheduled dependency check daily (#131)
1 parent 72fe4ba commit e9b014e

2 files changed

Lines changed: 3 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' \
20-
"The weekly scheduled dependency check failed." \
20+
"The scheduled dependency check failed." \
2121
"First failing run: ${RUN_URL}" \
2222
"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\`." \
2323
"Close this issue once fixed. The next scheduled failure will open a fresh issue.")

‎.github/workflows/scheduled.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: scheduled-dep-check
22
on:
33
schedule:
4-
- cron: "0 6 * * 1" # Mondays 06:00 UTC
4+
- cron: "15 6 * * *" # daily 06:15 UTC
55
workflow_dispatch: {}
66

77
concurrency:

0 commit comments

Comments
 (0)