diff --git a/makefile b/makefile index c1b40b27..95ef844a 100644 --- a/makefile +++ b/makefile @@ -61,7 +61,7 @@ push: create-pr: @echo "––– Creating PR –––" - @gh pr create --title "$$(git log -1 --pretty=%B)" --body "Auto-created" || true + @gh pr create --title "$$(git rev-parse --abbrev-ref HEAD | tr -d '[:digit:]' | tr '-' ' ')" --body "Auto-created" || true enable-automerge: @gh pr merge --auto --squash --delete-branch