Recently wrote a new merge check for my team. Works well and I have:
@EventListener
public void pullRequestOpened(PullRequestOpenedEvent prEvent) {
// some code...
}
But no matter the status of the plugin, disabled or enabled the check is always invoked. I do not want my merge check to run if the check itself is disabled.
What am I missing here?