Skip to content

Opt the merge-bot caller into delete-branch per the fleet standard #186

Closed

Description

@ptr727

The merge-bot caller .github/workflows/merge-bot-pull-request.yml now delivers the closed event (#179, #184), but it passes no with: block, so the hub task's delete-branch input stays at its default false and every closed run skips the delete-merged-bot-branch job. The repository-wide "Automatically delete head branches" setting is off, deliberately, since a promotion pull request's head is develop. So merged Dependabot and App branches are never deleted.

The fleet standard is to opt in. The hub's own caller and the later adopters of the reusable merge-bot set delete-branch: true in a with: block on the merge-bot job, per the hub's docs/reusable-workflows.md stub section. PhotoCleaner, the pilot, never did.

Fix: add

    with:
      delete-branch: true

to the merge-bot job, matching the hub stub's documented shape.

The maintainer asked for the fleet standard to be followed when this came up during the 2026-10-12 backlog burndown.

Activity

  1. ptr727 commented on Oct 12, 2026

    @ptr727
    OwnerAuthor

    Backlog burndown round 2 claim: branch feature/merge-bot-delete-branch holds .github/workflows/merge-bot-pull-request.yml.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions