only generate the necessary branch in CI environments