OBS does not have functionality built-in to auto-post videos to YouTube. You may be running a third-party application of some kind that is watching the video output directory and auto-uploading, but this isn't something OBS is even capable of doing on its own.