Skip to content

Commit

Permalink
fix: don't search for ref in commit message
Browse files Browse the repository at this point in the history
Signed-off-by: Gianmatteo Palmieri <[email protected]>
  • Loading branch information
mrgian authored and jasondellaluce committed Jul 2, 2024
1 parent 51abe05 commit 3aab971
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/sync/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ func searchForkCommitRef(ctx context.Context, client *github.Client, req *Reques
}

// search in commit message
refs, err := searchPullRequestRefs(req.UpstreamOrg, req.UpstreamRepo, c.Message())
// note(mrgian): we don't need to search in commit messages for now
/*refs, err := searchPullRequestRefs(req.UpstreamOrg, req.UpstreamRepo, c.Message())
if err != nil {
return 0, err
}
Expand All @@ -199,7 +200,7 @@ func searchForkCommitRef(ctx context.Context, client *github.Client, req *Reques
}
logrus.Infof("found ref in commit message of %s", c.SHA())
return refs[0], nil
}
}*/

// search in commit comments
comments, err := c.getComments(ctx, client, req.ForkOrg, req.ForkRepo)
Expand Down

0 comments on commit 3aab971

Please sign in to comment.