Skip to content

Commit 76dfe1b

Browse files
authored
[nanodu] Remove the user check when looking for duplicate PRs (#97)
1 parent cff923d commit 76dfe1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/DependencyUpdater/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,7 @@ private static PrCreationOutcome CretePRWithUpdate(
11241124
// check if there is already a PR with these updates
11251125
var openPRs = _octokitClient.PullRequest.GetAllForRepository(repoOwner, libraryName, new PullRequestRequest() { State = ItemStateFilter.Open }).Result;
11261126

1127-
var updatePRs = openPRs.Where(pr => pr.User.Login == _gitHubUser && pr.Title == prTitle && pr.Body == commitMessage);
1127+
var updatePRs = openPRs.Where(pr => pr.Title == prTitle && pr.Body == commitMessage);
11281128

11291129
if (updatePRs.Any())
11301130
{

0 commit comments

Comments
 (0)