Skip to content

Enable automatic deletion of merged branches #106

Description

@Paladin173

Summary

The repository does not currently delete merged pull-request branches automatically:

  • GET /repos/hermes-webui/hermes-android reports delete_branch_on_merge: false.
  • The setting was identified as an admin-only follow-up while completing PR Make CI checks safe to require on main #102, but it was left only in the implementation chat and a local ignored payload.
  • No existing open or closed issue tracks it.

This issue makes that unresolved repository-setting change durable and independently verifiable.

Proposed completion

Enable Automatically delete head branches under Settings > General > Pull Requests, or apply the equivalent API update:

PATCH /repos/hermes-webui/hermes-android
{"delete_branch_on_merge": true}

Repository Admin permission is required. The current Paladin173 access level is Maintain, so an organization owner or repository administrator must either apply the setting or grant the necessary role.

Verification

  1. Read back GET /repos/hermes-webui/hermes-android and confirm delete_branch_on_merge: true.
  2. Merge a disposable or ordinary pull request whose branch is hosted in this repository.
  3. Confirm GitHub deletes the merged head branch while leaving fork-owned branches unaffected.

Related operational follow-up: #105.

Activity

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

Metadata

Metadata

Assignees

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