Andrew Heaney allowed one earned run in 7.0 innings against the New York Yankees on Sunday, giving the Pirates the cushion they needed to win the series finale.