diff --git a/.github/workflows/diff_comment.yml b/.github/workflows/diff_comment.yml index e87ce31..c7b8383 100644 --- a/.github/workflows/diff_comment.yml +++ b/.github/workflows/diff_comment.yml @@ -23,7 +23,7 @@ jobs: with: script: | const diff = require('fs').readFileSync('diff-artifacts/diff.md', 'utf8'); - const pr_number = require('fs').readFileSync('diff-artifacts/pr_number', 'utf8'); + const pr_number = require('fs').readFileSync('diff-artifacts/pr_number', 'utf8').trim(); github.rest.issues.createComment({ issue_number: pr_number, owner: context.repo.owner,