Pipelines that call the GitHub API start failing with "API rate limit exceeded for installation ID 12345678".

IntermediateTroubleshootingPipeline outages
Answer

Likely causes → Many jobs share one GitHub App installation or token, and something is polling the API heavily: a loop waiting for a check to finish, tooling listing all repos, or a Renovate/Dependabot run across hundreds of repos.

Diagnose →

gh api rate_limit --jq '.resources.core'

Find which workflows make the most calls by checking logs around the failure time and the x-ratelimit-remaining header in tool debug output.

Fix → Replace polling with webhooks or workflow_run triggers, add backoff on 403/429 responses, cache API results within a job, and split heavy automation across separate GitHub Apps.

Prevent → Track rate-limit headroom as a metric for your automation tokens, and review scripts that call the API inside loops.

All Real-World Interview questions Roadmap: Interview readiness

More on Pipeline outages