Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
fix: make comment text a string for gh api (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys authored May 10, 2024
1 parent 2f3e92b commit 98549b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
const path = require('path')
const { PR_ID, REPO, OWNER } = process.env
const COMMENT = fs.readFileSync(path.join('results/temp', 'report.md'))
const COMMENT = fs.readFileSync(path.join('results/temp', 'report.md'), 'utf-8')
const updateComment = await github.paginate(github.rest.issues.listComments, {
owner: OWNER,
Expand Down
2 changes: 1 addition & 1 deletion scripts/template-oss/benchmark-cli-yml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
const path = require('path')

const { PR_ID, REPO, OWNER } = process.env
const COMMENT = fs.readFileSync(path.join('{{ resultsDir }}', 'report.md'))
const COMMENT = fs.readFileSync(path.join('{{ resultsDir }}', 'report.md'), 'utf-8')

const updateComment = await github.paginate(github.rest.issues.listComments, {
owner: OWNER,
Expand Down

0 comments on commit 98549b8

Please sign in to comment.