From 5b657a2de5b8837e351b91bea6e83f51e8000490 Mon Sep 17 00:00:00 2001 From: bbhtt Date: Tue, 9 Jul 2024 19:23:13 +0530 Subject: [PATCH] merge: Set "Automatically delete head branches" on by default --- .github/actions/merge/entrypoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/merge/entrypoint.py b/.github/actions/merge/entrypoint.py index b8caaf4..f611615 100755 --- a/.github/actions/merge/entrypoint.py +++ b/.github/actions/merge/entrypoint.py @@ -179,7 +179,7 @@ def main(): print("Creating new repo on Flathub") repo = org.create_repo(appid) time.sleep(5) - repo.edit(homepage=f"https://flathub.org/apps/details/{appid}") + repo.edit(homepage=f"https://flathub.org/apps/details/{appid}", delete_branch_on_merge=True) print("Adding flathub remote") clone.remotes.create(