What is the right way to make the phone number not required during the checkout in Magento 2?
I have read different opinions where people suggest editing the database, which as far as I know is not a good practice
To change phone number into optional follow the below configuration setup
Admin Login -> Stores -> (Settings) Configuration -> Customers(Tab) -> Customer Configuration -> Name and Address Options.
In their change Show Telephone is Required into Optional.