github does not provide a way to set the delete_branch_on_merge
as a default.
this tool runs using periodic github actions to set that property on your repositories.
to use this:
- fork this repository
- create a personal access token
- create a repository secret:
GH_TOKEN
- enable github actions
- modify the
ORGS
setting in./set-delete-branch-on-merge
- enjoy!