Matt Chapman homers in the 6th as Giants beat White Sox 5-3

Matt Chapman hit his 20th home run, Kyle Harrison pitched six strong innings and the San Francisco Giants beat the Chicago White Sox 5-3 on Monday night.

Harrison (7-5) allowed one run and five hits, striking out five and walking two as the Giants limited their opponent to three runs or fewer for the fifth straight game.

San Francisco (64-63) moved within 3 1/2 games of the idle Atlanta Braves for the final NL wild-card spot.

The White Sox (30-96) lost for the 29th time in their last 32 games.

Luis Robert Jr. put Chicago ahead with an RBI single in the fifth, snapping the team’s 21-inning scoreless streak.

San Francisco responded with four runs on five consecutive hits off White Sox starter Jonathan Cannon in the bottom half.

Curt Casali’s run-scoring single tied the game, Tyler Fitzgerald followed with an RBI double, and LaMonte Wade Jr. added an infield single to plate another run. Heliot Ramos tacked on a fourth run with a sacrifice fly.

Chapman's homer to left in the sixth wrapped up the scoring for the Giants.

Cannon (2-7) allowed five runs and eight hits with four strikeouts and a walk in six innings, snapping a streak of four straight starts allowing three runs or fewer.

Miguel Vargas hit a sacrifice fly in the eighth, and Gavin Sheets followed with an RBI single to cut the Giants’ lead to 5-3.

Chicago put runners on second and third with two outs in the ninth, but Jordan Hicks got Korey Lee to fly out to center for his first save of the season.

TRAINER’S ROOM

Giants C Patrick Bailey was a late scratch due to right side tightness. ... 2B Thairo Estrada (sprained left wrist) returned from the 10-day injured list. INF Brett Wisely was optioned to Triple-A Sacramento.

ROSTER MOVES

White Sox RHP Enyel De Los Santos, claimed off waivers from the Yankees on Saturday, was added to the active roster. RHP Matt Foster was optioned to Triple-A Charlotte.

UP NEXT

White Sox RHP Davis Martin (0-1, 3.00 ERA) will start Tuesday night against Giants LHP Robbie Ray (2-2, 6.00).