PHOENIX -- Andrew Cashner threw six solid innings and hit his first career home run to help lead the San Diego Padres to a 12-3 victory over the Arizona Diamondbacks on Saturday night.
Cashner (7-5) allowed three runs on four hits, walked five and struck out five for his second straight win, both coming during a 10-game road trip.
San Diego managed only three hits off Arizona starter Tyler Skaggs (2-3), but took advantage of the rookie left-hander's lack of control to open an 8-1 lead after four innings.
With the game tied 1-1, Skaggs retired the first two batters he faced in the third. But he walked Denorfia, hit Headley with a pitch, walked Quentin to load the bases and then walked Jesus Guzman to force in Denorfia.
Alonso followed with a bases-clearing double into the right-field corner to give the Padres a 5-1 lead.
In the fourth, Skaggs walked Cashner with one out before giving up a two-run, two-out home run to Denorfia to make it 7-1.
Tony Sipp came on in relief, but Headley drove his first pitch into the left-field stands to stretch the lead to 8-1.
Skaggs allowed seven runs on three hits and five walks, hit a batter and struck out five over a career-worst 3 2-3 innings.
Goldschmidt's one-out homer in the fifth, his 23rd, pulled Arizona within 8-3.
San Diego took a 1-0 lead in the first when Denorfia walked and scored on Quentin's two-out double.
Arizona tied the game in the second on Montero's third home run in his past seven games.
NOTES: Alonso has nine RBIs in nine games since the All-Star Break. . Skaggs had issued 10 total walks in 35 innings across his last six starts. . Denorfia's nine home runs against Arizona are the most among active Padres. . Denorfia and Headley were the fourth set of Padres to hit consecutive home runs this season. Nick Hundley and Will Venable hit back-to-back homers July 15 against San Francisco. . Montero had missed the Diamondbacks' past three games with a stiff back. . Arizona LHP Patrick Corbin (12-1, 2.31 ERA) will look to remain unbeaten at home when he takes on RHP Tyson Ross (1-4, 3.35) in the series finale. Corbin is 8-0 at Chase Field, the second-most home wins in the majors. Ross snapped a 12-game losing streak when he held the Brewers to two hits and two walks in the Padres' 6-2 win.