Turn Instant Pot to saute function. Add olive oil and brown beef in batches. Remove beef and set aside.
Add onion to Instant Pot and saute until softened, about 5 minutes. Add garlic and saute for 1 minute more.
Return beef to Instant Pot. Add crushed tomatoes, tomato sauce, beef broth, oregano, basil, salt, and pepper.
Close and lock the lid. Set to manual/high pressure for 35 minutes. Allow for natural pressure release for 10 minutes, then quick release any remaining pressure.
Stir in pasta and close the lid again. Set to manual/high pressure for 5 minutes. Quick release pressure.