Updated

PHOENIX -- Zack Godley struck out seven in six shutout innings in his major league debut, leading the Arizona Diamondbacks to an 8-3 victory over the Milwaukee Brewers on Thursday night.

Godley, a 25-year-old right-hander called up from Double-A before Thursday's game, held the Brewers to four hits, sprinting off the mound to the dugout after each inning. He got run support from 13 Diamondbacks hits, including three with two RBIs for A.J Pollock.

The Diamondbacks had lost eight of nine games entering Thursday.

Yasmany Tomas gave the Diamondbacks an early lead with a solo home run in the second inning. The Brewers failed to score in the third after putting runners on first and third with no outs.

Gerardo Parra grounded back to Godley, who threw to second base for a force out. Diamondbacks shortstop Nick Ahmed then threw home, and Arizona got a double play when Oscar Hernandez tagged the Brewers' Hernan Perez at the plate.

The Diamondbacks got some help from Brewers center fielder Carlos Gomez in scoring three runs in the fourth inning. After Hernandez drove in Tomas for his first major league RBI, Ender Inciarte lined a two-out single to center. Gomez threw wildly to third to try to get Hernandez, and both Aaron Hill and Hernandez scored on Gomez's second error of the game.

Mike Fiers (5-8) took the loss despite striking out 10 in five innings. Fiers allowed four earned runs and walked two.

Ryan Braun's three-run home run in the ninth inning accounted for the Brewers' output. Braun has 17 home runs and 60 RBIs this season.

Godley tied a club record for strikeouts in his first major league appearance, matching Max Scherzer's total in a relief outing in 2008. He became the first pitcher in the modern era (since 1900) to throw at least six scoreless innings with no walks and seven or more strikeouts in his major league debut, according to the Elias Sports Bureau.