Skip to content

Commit

Permalink
chore: not assigned if already assigned before
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Sep 9, 2024
1 parent 19743ea commit cccad44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/handlers/user-start-stop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,9 @@ export async function userPullRequest(context: Context<"pull_request.opened"> |
...issue,
assignees: issue.assignees.nodes as Context<"issue_comment.created">["payload"]["issue"]["assignees"],
labels,
html_url: issue.url,
} as unknown as Context<"issue_comment.created">["payload"]["issue"];
context.payload.issue = issueWithComment;
context.payload = Object.assign({ issue: issueWithComment }, context.payload);
return await start(context, issueWithComment, payload.sender, []);
}
}
Expand Down

0 comments on commit cccad44

Please sign in to comment.