Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion __tests__/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Co-authored-by: Test User3 <[email protected]>`;

await probot.receive({name: 'issue_comment', payload: fixtures.payload});
expect(await mergeRequest).toEqual({
commit_title: 'Test PR',
commit_title: 'Test PR (#1)',
commit_message: expectedMessage,
merge_method: 'squash',
});
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ module.exports = robot => {
await github.pullRequests.merge(
context.repo({
pull_number: issue.number,
commit_title: issue.title,
commit_title: `${issue.title} (#${issue.number})`,
commit_message,
merge_method,
}),
Expand Down