Dylan Bundy and four Orioles relievers held San Francisco to five hits in a 5-2 Baltimore win late Friday night.
Bundy (6-3, 2.93 ERA, 1.22 WHIP) allowed a run on three hits in five and two-thirds innings, striking out three and walking two.
Zach Britton (36 saves, 0.55 ERA, 0.80 WHIP) struck out two in the ninth to record the save.
Mark Trumbo (.262/.311/.531, 33 HR, 84 RBI) and Chris Davis (.223/.338/.444, 24 HR, 62 RBI) each homered for Baltimore (65-50), which has a half-game lead over Toronto (65-51) in the AL East.