|
|
@ -424,7 +424,7 @@ func UpdateIssuesCommit(doer *User, repo *Repository, commits []*PushCommit) err |
|
|
|
|
|
|
|
|
|
|
|
issue, err := GetIssueByRef(ref) |
|
|
|
issue, err := GetIssueByRef(ref) |
|
|
|
if err != nil { |
|
|
|
if err != nil { |
|
|
|
if IsErrIssueNotExist(err) || err == errMissingIssueNumber { |
|
|
|
if IsErrIssueNotExist(err) || err == errMissingIssueNumber || err == errInvalidIssueNumber { |
|
|
|
continue |
|
|
|
continue |
|
|
|
} |
|
|
|
} |
|
|
|
return err |
|
|
|
return err |
|
|
@ -462,7 +462,7 @@ func UpdateIssuesCommit(doer *User, repo *Repository, commits []*PushCommit) err |
|
|
|
|
|
|
|
|
|
|
|
issue, err := GetIssueByRef(ref) |
|
|
|
issue, err := GetIssueByRef(ref) |
|
|
|
if err != nil { |
|
|
|
if err != nil { |
|
|
|
if IsErrIssueNotExist(err) || err == errMissingIssueNumber { |
|
|
|
if IsErrIssueNotExist(err) || err == errMissingIssueNumber || err == errInvalidIssueNumber { |
|
|
|
continue |
|
|
|
continue |
|
|
|
} |
|
|
|
} |
|
|
|
return err |
|
|
|
return err |
|
|
@ -502,7 +502,7 @@ func UpdateIssuesCommit(doer *User, repo *Repository, commits []*PushCommit) err |
|
|
|
|
|
|
|
|
|
|
|
issue, err := GetIssueByRef(ref) |
|
|
|
issue, err := GetIssueByRef(ref) |
|
|
|
if err != nil { |
|
|
|
if err != nil { |
|
|
|
if IsErrIssueNotExist(err) || err == errMissingIssueNumber { |
|
|
|
if IsErrIssueNotExist(err) || err == errMissingIssueNumber || err == errInvalidIssueNumber { |
|
|
|
continue |
|
|
|
continue |
|
|
|
} |
|
|
|
} |
|
|
|
return err |
|
|
|
return err |
|
|
|