ENGINEERING

Page on-call when a PR breaches review SLA

When a pull request labeled urgent goes past its review SLA without an approval, it triggers a PagerDuty alert to the on-call engineer and notifies the engineering channel.

CategoryEngineering
Enginesim
Difficultyadvanced
Triggerschedule
Steps5
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerFrequent schedule poll
  • ActionFilter to urgent-labeled open PRs and measure waitGitHubGitHub
  • LogicDetect SLA breach with no approval
  • ActionTrigger PagerDuty incident to on-callPagerDutyPagerDuty
  • OutputPost breach context to engineering channelSlack

What it does

For PRs that genuinely can't wait (hotfixes, incident follow-ups), this workflow enforces a review SLA. Once an urgent-labeled PR exceeds its allowed wait time without an approving review, it pages the on-call engineer through PagerDuty and posts to the engineering channel so the right person responds in minutes, not hours.

When to use it

Use it for repos where some PRs are time-critical and a missed review has real cost (production fixes, customer-blocking changes). It's deliberately scoped to labeled-urgent PRs so it doesn't page anyone for routine work.

How it works

  1. 1A schedule polls open PRs on a tight interval.
  2. 2The flow filters to PRs carrying the urgent label and measures time since they were opened or last reviewed.
  3. 3A branch checks whether an urgent PR has crossed its SLA with no approval yet.
  4. 4On breach it triggers a PagerDuty incident targeting the current on-call rotation.
  5. 5It posts the breaching PR and its wait time to the engineering Slack channel so the team has context.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect GitHubRepos, issues, pull requests, actions.
  2. 2
    Connect PagerDutyIncidents, on-call, escalations.
  3. 3
    Connect SlackChannels, DMs, threads, mentions.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.