Nick Pivetta allowed two hits over seven innings and the San Diego Padres recorded their seventh shutout of the season with a 2-0 victory over the Tigers on Tuesday night in Detroit.

Pivetta (4-1) struck out six and only allowed one runner to reach second base. He is 2-0 with a 0.45 ERA in his last three starts.

Elias Díaz hit a two-run homer in the second inning off Jack Flanerty for the Padres, who had lost four of six after a 14-3 start.

Flaherty (1-2) allowed two runs on five hits in six innings. He struck out nine without a walk.

Mets 5, Phillies 1: Francisco Lindor had three hits, including an RBI single, and New York defeated visitingPhiladelphia for its second six-game winning streak this season.

Phillies starter Cristopher Sánchez (2-1) was removed with left forearm soreness after laboring through two innings.

Mark Vientos delivered an early RBI double and Pete Alonso also had a run-scoring double for the Mets (17-7), who improved to 11-1 at home.

Nationals 7, Orioles 0: Mitchell Parker pitched eight innings to combine on a one-hitter, Nathaniel Lowe and Dylan Crews homered, and Washington defeated visiting Baltimore.

Baltimore didn’t get a runner past second base until the ninth. Cedric Mullins accounted for the Orioles’ lone hit with a one-out single in the third.

Parker (3-1) struck out four and walked two while setting down his last 17 batters.

Guardians 3, Yankees 2: Tanner Bibee recovered from giving up a home run on his first pitch to work six innings, leading Cleveland to a home victory over New York that extended its winning streak to five.

Bibee (2-2) was quickly tagged by New York’s Ben Rice but settled in. He allowed two runs and five hits while helping the Guardians improve to 7-1 at home.

New York’s Aaron Judge went 4 for 4 with three singles and double, raising his major league-leading average to .411.

Red Sox 8, Mariners 3: Brayan Bello allowed one run over five innings in his season debut, Triston Casas hit a three-run homer in the seventh and Boston beat Seattle at Fenway Park for its sixth win in seven games.

Alex Bregman hit a pair of RBI doubles for the Red Sox.

Marlins 4, Reds 3: Agustín Ramírez walked, doubled twice and singled in his second major league game to help host Miami edge Cincinnati for its third win in a row.