Skip to content

docs: deprecate delete_head_branch action#10791

Merged
mergify[bot] merged 1 commit intomainfrom
devs/JulianMaurin/deprecate-queue-branch-merge-method/I927fa08f2fc977ba55a11c2817bd6bc84983bfa2
Apr 2, 2026
Merged

docs: deprecate delete_head_branch action#10791
mergify[bot] merged 1 commit intomainfrom
devs/JulianMaurin/deprecate-queue-branch-merge-method/I927fa08f2fc977ba55a11c2817bd6bc84983bfa2

Conversation

@JulianMaurin
Copy link
Copy Markdown
Contributor

The delete_head_branch action is deprecated (engine#27721) and will be
removed on June 30, 2026. Users should use GitHub's built-in auto-delete
branches setting instead.

  • Add deprecation banner to the action page
  • Update frontmatter title to match post_check pattern
  • Remove the delete-head-branches use-case page and nav entry

Refs: MRGFY-6799

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

Copilot AI review requested due to automatic review settings April 1, 2026 19:03
@mergify mergify bot had a problem deploying to Mergify Merge Protections April 1, 2026 19:03 Failure
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Apr 1, 2026

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 🤖 Continuous Integration

Wonderful, this rule succeeded.
  • all of:
    • check-success = build
    • check-success = lint
    • check-success = test
    • any of:
      • check-success = test-broken-links
      • label = ignore-broken-links
    • any of:
      • check-success=Cloudflare Pages
      • -head-repo-full-name~=^Mergifyio/

🟢 👀 Review Requirements

Wonderful, this rule succeeded.
  • any of:
    • #approved-reviews-by >= 2
    • author = dependabot[bot]
    • author = mergify-ci-bot

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?:

🟢 🔎 Reviews

Wonderful, this rule succeeded.
  • #changes-requested-reviews-by = 0
  • #review-requested = 0
  • #review-threads-unresolved = 0

🟢 📕 PR description

Wonderful, this rule succeeded.
  • body ~= (?ms:.{48,})

@JulianMaurin JulianMaurin force-pushed the devs/JulianMaurin/deprecate-queue-branch-merge-method/I927fa08f2fc977ba55a11c2817bd6bc84983bfa2 branch from e2cb12c to b1b381c Compare April 1, 2026 19:04
@JulianMaurin JulianMaurin marked this pull request as ready for review April 1, 2026 19:04
@mergify mergify bot had a problem deploying to Mergify Merge Protections April 1, 2026 19:05 Failure
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the documentation to reflect the deprecation of the delete_head_branch workflow action and guides users toward GitHub’s built-in auto-delete branches feature ahead of the June 30, 2026 removal.

Changes:

  • Add a deprecation banner and update frontmatter (title/description) on the delete_head_branch action doc.
  • Remove the “Delete Head Branches” use-case doc page.
  • Remove the corresponding “Delete Head Branches” entry from the Workflow Automation → Use Cases navigation.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/content/navItems.tsx Removes the “Delete Head Branches” use-case nav entry to avoid pointing to a removed page.
src/content/docs/workflow/delete-head-branches.mdx Deletes the dedicated use-case page now that the feature is deprecated.
src/content/docs/workflow/actions/delete_head_branch.mdx Marks the action as deprecated via frontmatter updates and a prominent deprecation banner with guidance/link to GitHub settings.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@JulianMaurin JulianMaurin force-pushed the devs/JulianMaurin/deprecate-queue-branch-merge-method/I927fa08f2fc977ba55a11c2817bd6bc84983bfa2 branch from b1b381c to 19c4864 Compare April 1, 2026 20:02
@mergify mergify bot had a problem deploying to Mergify Merge Protections April 1, 2026 20:03 Failure
jd
jd previously approved these changes Apr 2, 2026
@JulianMaurin JulianMaurin force-pushed the devs/JulianMaurin/deprecate-queue-branch-merge-method/I927fa08f2fc977ba55a11c2817bd6bc84983bfa2 branch from 19c4864 to 14b60c8 Compare April 2, 2026 07:25
@mergify mergify bot dismissed jd’s stale review April 2, 2026 07:25

Pull request has been modified.

@mergify mergify bot had a problem deploying to Mergify Merge Protections April 2, 2026 07:25 Failure
The delete_head_branch action is deprecated (engine#27721) and will be
removed on June 30, 2026. Users should use GitHub's built-in auto-delete
branches setting instead.

- Add deprecation banner to the action page
- Update frontmatter title to match post_check pattern
- Remove the delete-head-branches use-case page and nav entry

Refs: MRGFY-6799

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Change-Id: I927fa08f2fc977ba55a11c2817bd6bc84983bfa2
@JulianMaurin JulianMaurin force-pushed the devs/JulianMaurin/deprecate-queue-branch-merge-method/I927fa08f2fc977ba55a11c2817bd6bc84983bfa2 branch from 14b60c8 to fc661fd Compare April 2, 2026 08:08
@mergify mergify bot deployed to Mergify Merge Protections April 2, 2026 08:08 Active
@mergify mergify bot requested a review from a team April 2, 2026 08:11
@mergify mergify bot requested a review from a team April 2, 2026 09:17
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Apr 2, 2026

Merge Queue Status

This pull request spent 2 minutes 24 seconds in the queue, including 2 minutes 10 seconds running CI.

Required conditions to merge

mergify bot added a commit that referenced this pull request Apr 2, 2026
@mergify mergify bot added the queued label Apr 2, 2026
@mergify mergify bot merged commit a8d4f96 into main Apr 2, 2026
9 of 14 checks passed
@mergify mergify bot deleted the devs/JulianMaurin/deprecate-queue-branch-merge-method/I927fa08f2fc977ba55a11c2817bd6bc84983bfa2 branch April 2, 2026 09:36
@mergify mergify bot removed the queued label Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants