diff --git a/routers/web/repo/issue.go b/routers/web/repo/issue.go index 3ea40fe8c9..ba8b49774b 100644 --- a/routers/web/repo/issue.go +++ b/routers/web/repo/issue.go @@ -1319,7 +1319,7 @@ func roleDescriptor(ctx stdCtx.Context, repo *repo_model.Repository, poster *use return roleDescriptor, err } else if hasMergedPR { roleDescriptor.RoleInRepo = issues_model.RoleRepoContributor - } else { + } else if issue.IsPull { // only display first time contributor in the first opening pull request roleDescriptor.RoleInRepo = issues_model.RoleRepoFirstTimeContributor }