Skip to content

Commit

Permalink
fix owner
Browse files Browse the repository at this point in the history
  • Loading branch information
t-will-gillis committed Oct 6, 2024
1 parent be6ac9c commit fda1f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github-actions/trigger-pr/set-pr-labels.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit fda1f15

Please sign in to comment.