nodece commented on code in PR #56: URL: https://github.com/apache/pulsar-test-infra/pull/56#discussion_r945166378
########## docbot/main.go: ########## @@ -420,6 +425,11 @@ func (a *Action) onPullRequestLabeledOrUnlabeled() error { // Add missing label if a.config.GetEnableLabelMissing() && checkedCount == 0 { + if _, exist := currentLabelsSet[a.config.GetLabelMissing()]; exist { + logger.Infoln("Already added missing label.") + return fmt.Errorf("%s", MessageLabelMissing) Review Comment: ```suggestion return nil ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org