Skip to content

Delete merged branches with the repository setting, not a workflow - #16

Merged
arijitchhatui merged 1 commit into
mainfrom
claude/remove-branch-deletion-workflow-d4acd1
Aug 21, 2026
Merged

Delete merged branches with the repository setting, not a workflow#16
arijitchhatui merged 1 commit into
mainfrom
claude/remove-branch-deletion-workflow-d4acd1

Conversation

@arijitchhatui

Copy link
Copy Markdown
Collaborator

The "Automatically delete head branches" repository setting has been turned on, which does the same
job as the workflow added in #15 — so the workflow is now redundant.

The setting wins on what matters here: it cannot fail, because there is no runner, no token and no
job to queue, and it costs no Actions minutes on every merge. The workflow's one advantage was being
visible in the tree, and that is worth less than a mechanism with nothing to break.

Removes .github/workflows/delete-merged-branch.yml. Behaviour is unchanged — merged head branches
are still deleted automatically, and the setting leaves fork branches and closed-without-merge pull
requests alone on its own.

The "Automatically delete head branches" repository setting has been turned on, which does the same
job as the workflow added in #15 — so the workflow is now redundant.

The setting wins on what matters here: it cannot fail, because there is no runner, no token and no
job to queue, and it costs no Actions minutes on every merge. The workflow's one advantage was being
visible in the tree, and that is worth less than a mechanism with nothing to break.

Removes `.github/workflows/delete-merged-branch.yml`. Behaviour is unchanged — merged head branches
are still deleted automatically, and the setting leaves fork branches and closed-without-merge pull
requests alone on its own.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
uploadflow Ready Ready Preview Aug 21, 2026 6:00am

@arijitchhatui
arijitchhatui merged commit e90c71d into main Aug 21, 2026
2 checks passed
@arijitchhatui
arijitchhatui deleted the claude/remove-branch-deletion-workflow-d4acd1 branch August 21, 2026 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant