docs: deprecate delete_head_branch action#10791
Merged
mergify[bot] merged 1 commit intomainfrom Apr 2, 2026
Merged
Conversation
Contributor
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🟢 🤖 Continuous IntegrationWonderful, this rule succeeded.
🟢 👀 Review RequirementsWonderful, this rule succeeded.
🟢 Enforce conventional commitWonderful, this rule succeeded.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🟢 🔎 ReviewsWonderful, this rule succeeded.
🟢 📕 PR descriptionWonderful, this rule succeeded.
|
e2cb12c to
b1b381c
Compare
There was a problem hiding this comment.
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_branchaction 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.
b1b381c to
19c4864
Compare
jd
previously approved these changes
Apr 2, 2026
19c4864 to
14b60c8
Compare
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
14b60c8 to
fc661fd
Compare
jd
approved these changes
Apr 2, 2026
kozlek
approved these changes
Apr 2, 2026
Contributor
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
|
49 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
Refs: MRGFY-6799
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com