From 7f29aff3ad78ad0faf31d26a2f704494f9ddd7a9 Mon Sep 17 00:00:00 2001 From: Nate Coraor Date: Wed, 9 Nov 2022 18:33:36 -0500 Subject: [PATCH] Stringify --- .github/workflows/comment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/comment.yaml b/.github/workflows/comment.yaml index 912e25d..46820fd 100644 --- a/.github/workflows/comment.yaml +++ b/.github/workflows/comment.yaml @@ -48,7 +48,7 @@ jobs: script: | var fs = require('fs'); var issue_number = Number(fs.readFileSync('./PR')); - var body = fs.readFileSync('test-results.txt'); + var body = String(fs.readFileSync('test-results.txt')); await github.issues.createComment({ owner: context.repo.owner, repo: context.repo.repo,