1
1
mirror of https://gitea.com/gitea/tea synced 2024-11-23 00:12:05 +01:00

skip empty pull requests (#17) (#18)

Signed-off-by: Andreas Ulm <andreas.ulm@root360.de>
This commit is contained in:
Andreas Ulm 2019-04-23 18:13:39 +02:00 committed by Lauris BH
parent fb52920af9
commit 3713949934

@ -49,6 +49,9 @@ func runPulls(ctx *cli.Context) error {
}
for _, pr := range prs {
if pr == nil {
continue
}
name := pr.Poster.FullName
if len(name) == 0 {
name = pr.Poster.UserName