From 94688fe7b929028a27deace386540d73d63196da Mon Sep 17 00:00:00 2001 From: Jaume Salgado Date: Sat, 11 Apr 2020 23:20:30 +0200 Subject: [PATCH] Add description when creating a pr with "createOrUpdatePR" --- CHANGELOG.md | 1 + source/platforms/github/GitHubUtils.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e9d0126de..d3df91eb7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ x - Fix project path with /- in GitLab MR URL [@pgoudreau] +- When creating a new PR with `createOrUpdatePR`, add the description (as done when editing) - [@sogame] # 10.1.0 diff --git a/source/platforms/github/GitHubUtils.ts b/source/platforms/github/GitHubUtils.ts index 2701080fd..aecf2a3ba 100644 --- a/source/platforms/github/GitHubUtils.ts +++ b/source/platforms/github/GitHubUtils.ts @@ -176,6 +176,7 @@ export const createOrUpdatePR = (pr: GitHubPRDSL | undefined, api: GitHub) => as owner, repo, title: config.title, + body: config.body, }) } }