From fda1f154392f20013b10d703df3e4faa322c84c8 Mon Sep 17 00:00:00 2001 From: t-will-gillis <40799239+t-will-gillis@users.noreply.github.com> Date: Sat, 5 Oct 2024 20:48:51 -0700 Subject: [PATCH] fix owner --- github-actions/trigger-pr/set-pr-labels.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github-actions/trigger-pr/set-pr-labels.js b/github-actions/trigger-pr/set-pr-labels.js index 56c3b47e8b..ea285e2219 100644 --- a/github-actions/trigger-pr/set-pr-labels.js +++ b/github-actions/trigger-pr/set-pr-labels.js @@ -246,7 +246,7 @@ async function setLabelsOnPR({ github, context, core }, filepath) { // If there is no linked issue, intercept and post message if ( labels === 'noLinkedIssue') { - comment = `@${prOwner}, this Pull Request is not linked to a valid issue. In the Pull Request body above, you **_must_** link the number of the issue that you worked on using the format of 'Fixes #' + issue number, for example: **_Fixes #0000_**\n\nNote: Do **_not_** use the number of this PR.`; + comment = `@${context.repo.owner}, this Pull Request is not linked to a valid issue. In the Pull Request body above, you **_must_** link the number of the issue that you worked on using the format of 'Fixes #' + issue number, for example: **_Fixes #0000_**\n\nNote: Do **_not_** use the number of this PR.`; await _postIssueComment({ github, context }, pr, comment); }