Your pedals should be clean ,however, if you have any cast that you wish to weld that is contaminated with
oil,grease,fluid,etc. that can be a problem. Cast is so porous it retains everything . Baking the material will help with the heat aspect as Mike said and it will also help clean the pores of the surface as well.
Brent