Skip to content

Commit 3cf0e51

Browse files
authored
fix wrong log when push to a new branch (#1220)
1 parent 925b252 commit 3cf0e51

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

models/action.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ func UpdateIssuesCommit(doer *User, repo *Repository, commits []*PushCommit) err
360360

361361
issue, err := GetIssueByRef(ref)
362362
if err != nil {
363-
if IsErrIssueNotExist(err) {
363+
if IsErrIssueNotExist(err) || err == errMissingIssueNumber {
364364
continue
365365
}
366366
return err

modules/github/issues.go

Whitespace-only changes.

0 commit comments

Comments
 (0)