Skip to content

Commit

Permalink
fix: only extract linked issues for User PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
setchy committed Jun 10, 2024
1 parent fedbfbe commit 5e7daeb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/subject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,8 @@ async function getGitifySubjectForPullRequest(
}

const reviews = await getLatestReviewForReviewers(notification);
const linkedIssues = parseLinkedIssuesFromPrBody(pr.body);
const linkedIssues =
pr.user.type === 'User' ? parseLinkedIssuesFromPrBody(pr.body) : [];

return {
state: prState,
Expand Down

0 comments on commit 5e7daeb

Please sign in to comment.