Melancon notched his 27th save by striking out Wilson Contreras for his only out in Friday's 8-4 victory over the Cubs.
The Pirates closer was brought in to slam the door after A.J. Schugel got into some trouble with two out. Schugel retired Tommy La Stella and Ben Zobrist to start the top of the ninth before surrendering a Kris Bryant single and issuing a free pass to Anthony Rizzo. Melancon has now successfully converted 23 consecutive save opportunities and has not given up an earned run since May 15.