From d41e922f1b84c3ceb52804b0d3197e3ea3f4eac8 Mon Sep 17 00:00:00 2001 From: Alex Kanitz Date: Wed, 30 Oct 2024 01:06:58 +0100 Subject: [PATCH] Update diff_comment.yml --- .github/workflows/diff_comment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,