PROJECT MANAGEMENT

Catch PRs Doing Work Not in the Sprint

When a pull request opens during a sprint, checks whether its linked Linear issue belongs to the active cycle.

CategoryProject Management
Enginesim
Difficultyadvanced
Triggerevent
Steps6
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerGitHub pull request openedGitHubGitHub
  • ActionParse branch and body for Linear issue key
  • ActionVerify issue belongs to active cycleLinearLinear
  • LogicRoute clean vs no-issue vs out-of-sprint
  • ActionComment on PR requesting a sprint issue linkGitHubGitHub
  • OutputNotify lead of untracked workSlack

What it does

Intercepts opened pull requests and inspects the branch name and PR body for a Linear issue key. It then verifies that issue is part of the active cycle. PRs with no linked issue, or linked to work outside the current sprint, are flagged as untracked scope and commented on directly.

When to use it

Use this when engineers sometimes ship work that was never planned into the sprint, so the burndown looks fine while real effort leaks into off-plan tasks. It enforces the rule that in-sprint code maps to in-sprint issues.

How it works

  1. 1A GitHub webhook fires when a pull request is opened.
  2. 2The workflow parses the branch name and PR description for a Linear issue identifier.
  3. 3It queries Linear to confirm the issue exists and is assigned to the active cycle.
  4. 4A branch routes the PR into clean, no-issue, or out-of-sprint outcomes.
  5. 5For the two problem cases the workflow posts a GitHub comment asking for a linked sprint issue and notifies the lead in Slack.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect GitHubRepos, issues, pull requests, actions.
  2. 2
    Connect LinearIssues, projects, cycles, triage.
  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.