Multiline message body

Signed-off-by: Johan Haals <johan.haals@gmail.com>

Co-authored-by: Ben Lambert <blam@spotify.com>
This commit is contained in:
Johan Haals
2022-02-08 14:18:30 +01:00
committed by GitHub
parent b740b0c7d8
commit 0da410b905
+4 -1
View File
@@ -52,7 +52,10 @@ jobs:
continue;
}
console.log(`creating comment on PR #${pull.number}`);
const body = `Thanks for the contribution!\nAll commits need to be DCO signed before merging. Please refer to the the [DCO section in CONTRIBUTING.md](https://github.com/backstage/backstage/blob/master/CONTRIBUTING.md#developer-certificate-of-origin) or the [DCO](${checks.data.check_runs[0].html_url}) status for more info.<!-- dco -->`;
const body = `
Thanks for the contribution!
All commits need to be DCO signed before merging. Please refer to the the [DCO section in CONTRIBUTING.md](https://github.com/backstage/backstage/blob/master/CONTRIBUTING.md#developer-certificate-of-origin) or the [DCO](${checks.data.check_runs[0].html_url}) status for more info.
<!-- dco -->`;
await github.rest.issues.createComment({
repo,
owner,