Skip to content

babysit unattended lane: merge safe Dependabot updates under the agent identity #7337

Closed

Description

@kyle-sexton

Problem

Dependabot pull requests in this repository need a human to enqueue them, including safe patch and minor bumps and security fixes.

The goal: an agent lane merges safe dependency updates with no human involved, and asks a human only when one needs judgment.

Proposed

Add a Dependabot class to the unattended lane after Phase 15. Merges stay with the single merge authority, the babysit wrapper acting under the agent identity (github-iac#691). No second authority is added.

  • Eligible: Dependabot authored the PR, and every head commit is GitHub-verified from Dependabot. The update type is semver-patch or semver-minor (from dependabot/fetch-metadata), or the PR fixes a GitHub security advisory. Required checks are green, the AI review lanes are complete with no findings, and the PR has no human hold.
  • Escalate with a "needs a human" note: a major bump, an advisory without a patched-version match, a failing check, an AI review finding, or a change outside the manifest, lockfile and workflow-pin paths.
  • Scoring: a Dependabot-specific rule replaces the general HIGH floor for this class only, limited to the files Dependabot writes. The merge-group recheck (feat(ci): recheck non-human merge-queue entries in the merge group #7334) gains the same rule for identity-enqueued Dependabot entries.
  • Post-merge: the existing check and demotion apply unchanged.

Acceptance

  • A patch or minor Dependabot PR with green checks and a clean review merges with no human action.
  • A major bump or a red check produces one escalation note and no merge.
  • The merge-group recheck passes an identity-enqueued eligible Dependabot entry and fails anything else.

Related

🤖 Generated with Claude Code

Activity

  1. added
    needs-triage
    on Oct 12, 2026
  2. github-actions commented on Oct 12, 2026

    @github-actions
    Contributor

    Thanks for the report. Automated triage handed this issue to a maintainer.

    Automated triage. A maintainer reviews it.

  3. added
    needs-human
    on Oct 12, 2026
  4. kyle-sexton commented on Oct 12, 2026

    @kyle-sexton
    MemberAuthor

    Fleet note: pr-automerge-dependabot.yml callers also exist in standards, songwriting, ci-runner and medley (code search, 2026-10-12). On any of those whose default branch uses a merge queue, the same GITHUB_TOKEN limit applies: the workflow arms auto-merge that GitHub never queues. This repository retired its caller in #7334. Each of those repositories needs the same check (merge queue on its default branch?) and either a human enqueue or this lane once it lands.

  5. removed
    needs-triage
    on Oct 12, 2026
  6. kyle-sexton commented on Oct 18, 2026

    @kyle-sexton
    MemberAuthor

    This was generated by AI during backlog shaping.

    Closing as completed. Superseded by #7699: the pr-merge lane now merges Dependabot PRs itself under the lanes App token (tier auto for non-major, tier review merges on the AI review verdict), and pr-automerge-dependabot.yml is removed.

    Evidence:

    • bb032f1 "feat(pr-pipeline): merge non-major Dependabot bumps in the pr-merge lane (feat(pr-pipeline): merge non-major Dependabot bumps in the pr-merge lane #7699)": new babysit_dependabot.py, dependabot_eligibility() in babysit_merge_policy.py, pr-merge.yml lists app/dependabot PRs, old pr-automerge-dependabot.yml removed
    • origin/main docs/conventions/pr-pipeline.yaml:315-316 dependabot: mode: enforce
    • origin/main docs/adr/0073-merge-dependabot-pull-requests-in-the-pr-merge-lane.md
    • git ls-tree origin/main .github/workflows: no pr-automerge-dependabot.yml

    The owner approved this close in an attended backlog-shaping session on 2026-10-18.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-human

    Fields

    No fields configured for Feature.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions