mirror of
https://github.com/bitbaum/loki.git
synced 2026-12-04 19:47:25 +01:00
solon and reparaturbonus-zh both refused to deploy commits whose verify was green, because Dependabot's dependency-graph updater had failed on the same SHA and the gate counted it as CI. A failed dependency update is not a statement about whether the code works. Filtering by app slug does not separate them — Dependabot runs under github-actions too. The discriminator is the workflow path: real CI lives in .github/workflows/, Dependabot's updater reports as dynamic/dependabot/dependabot-updates. So count workflow runs, filtered to repo workflows, instead of every check run on the commit. Third-party check apps (Snyk) that sit pending forever stop deadlocking the gate too. Self-exclusion moves from check_suite_id to the run id, which is what the workflow-runs API keys on. Verified against solon's blocked SHA: CI FAILED (3) -> CI green (1). Co-authored-by: test <test@test> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>