Skip to content

Commit

Permalink
dev use branch title for PR title (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBernstorff authored Nov 19, 2023
2 parents 3f6c079 + df5eda7 commit e655575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e655575

Please sign in to comment.