Skip to content

Commit

Permalink
chore(mergify): use title+body for commit message (aws#8049)
Browse files Browse the repository at this point in the history
A new mergify feature finally allows reusing the PR title & body as the commit message.
  • Loading branch information
Elad Ben-Israel authored May 18, 2020
1 parent 9f446ca commit 2728cf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
### Commit Message
COMMIT/PR TITLE HERE (must follow conventionalcommits.org)

COMMIT MESSAGE HERE
### End Commit Message

----

Expand Down
2 changes: 2 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ pull_request_rules:
strict: smart
method: squash
strict_method: merge
commit_message: title+body
delete_head_branch: {}
conditions:
- base!=release
Expand All @@ -40,6 +41,7 @@ pull_request_rules:
# Merge instead of squash
method: merge
strict_method: merge
commit_message: title+body
delete_head_branch: {}
conditions:
- -title~=(WIP|wip)
Expand Down

0 comments on commit 2728cf9

Please sign in to comment.