nodece commented on issue #59:
URL: 
https://github.com/apache/pulsar-test-infra/issues/59#issuecomment-1214130678

   I noticed the following code. Why are different types distinguished? I think 
all four types should be used the same way for labeling. 
   
   ```
   func (a *Action) Run(actionType string) error {
        a.event = actionType
        switch actionType {
        case "opened", "edited":
                return a.onPullRequestOpenedOrEdited()
        case "labeled", "unlabeled":
                return a.onPullRequestLabeledOrUnlabeled()
        }
        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

Reply via email to