Combine flour and salt in a bowl of a stand mixer. Using the paddle attachment, cut in the butter until the mixture resembles coarse breadcrumbs.
Add milk, 1 Tbsp at a time JUST until the mixture comes together to form a ball.
Breaking off a piece about the size of a golf ball, pat the crust into the bottom and sides of a pie pan.
If you’re going to fill and bake the pie crust (as in a pumpkin pie or pecan pie), whisk the egg yolk in a small bowl and brush the inside of the crust. Bake in the oven for 2 minutes.
If you’re going to fill the crust with a no-bake pie (as in a chocolate pudding pie), bake in the oven for 18-22 min.