diff --git a/routers/web/repo/issue.go b/routers/web/repo/issue.go index dbc7443727..cd14fff6bd 100644 --- a/routers/web/repo/issue.go +++ b/routers/web/repo/issue.go @@ -1309,7 +1309,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 }