Closed nerdalert closed 4 months ago
Correction, this might just be a confusing log message. Going to change it to, not enabled as opposed to missing label.
if !isBotEnabled {
detailsMsg := fmt.Sprintf("Beep, boop 🤖: To proceed, the pull request must have one of the '%v' labels.", h.RequiredLabels)
if err != nil {
detailsMsg = fmt.Sprintf("%s\nError: %v", detailsMsg, err)
}
Skip the method
checkBotEnableStatus
if there are no required. Something like:Prevents a scenario like this: