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