Skip to content

Commit 069efb2

Browse files
committed
fixup! feat(ng-dev): add auto merge strategy for pull requests
1 parent 5a6892e commit 069efb2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ng-dev/pr/merge/strategies/api-merge.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ export class GithubApiMergeStrategy extends AutosquashMergeStrategy {
9292
mergeOptions.merge_method = 'squash';
9393
pullRequestCommitCount = 1;
9494

95+
// The first commit is the correct one, whatever follows are fixups.
9596
const [title, message = ''] = commits[0].message.split(COMMIT_HEADER_SEPARATOR);
9697

9798
mergeOptions.commit_title = title;

0 commit comments

Comments
 (0)