Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/scripts/report-scheduled-failure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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.")
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: scheduled-dep-check
on:
schedule:
- cron: "0 6 * * 1" # Mondays 06:00 UTC
- cron: "46 6 * * *" # daily 06:46 UTC
workflow_dispatch: {}

concurrency:
Expand Down
Loading