We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6596883 commit 786a6c6Copy full SHA for 786a6c6
__tests__/index.js
@@ -61,7 +61,7 @@ Co-authored-by: Test User3 <[email protected]>`;
61
62
await probot.receive({name: 'issue_comment', payload: fixtures.payload});
63
expect(await mergeRequest).toEqual({
64
- commit_title: 'Test PR',
+ commit_title: 'Test PR (#1)',
65
commit_message: expectedMessage,
66
merge_method: 'squash',
67
});
index.js
@@ -69,7 +69,7 @@ module.exports = robot => {
69
await github.pullRequests.merge(
70
context.repo({
71
pull_number: issue.number,
72
- commit_title: issue.title,
+ commit_title: `${issue.title} (#${issue.number})`,
73
commit_message,
74
merge_method,
75
}),
0 commit comments