It’s been a tough time for whistleblowers.

The Astros were cleared of any wrongdoing by Major League Baseball after an investigation conducted because the Yankees were upset with whistling they said was coming from the Houston dugout to signal hitters during Game 1 of the ALCS at Minute Maid Park.

The league checked with officials who were stationed near the Astros dugout in the first two games of the ALCS in Houston and they did not confirm the Yankees’ suspicions.

The Astros didn’t benefit in Game 1, losing 7-0 against Yankees ace Masahiro Tanaka.

The Yankees were mostly tight-lipped about the situation before Thursday’s Game 4 in the Bronx, with general manager Brian Cashman declining comment and manager Aaron Boone not adding much more.

“Everyone is trying to gain an edge,’’ Boone said. “It’s part of the game, but I don’t have anything to say about it.”

The same was not true of Houston manager A.J. Hinch, who blasted the accusations, calling them “a joke.”

“Major League Baseball does a lot to ensure the fairness of the game,’’ Hinch said before Game 4. “There’s people everywhere. If you go through the dugouts and the clubhouses and the hallways, there’s like so many people around that are doing this.’’

Hinch insisted his team plays by the rules.

“And then when I get contacted about some questions about whistling, it made me laugh because it’s ridiculous,’’ Hinch said. “And had I known that it would take something like that to set off the Yankees or any other team, we would have practiced it in spring training. … It apparently works, even when it doesn’t happen.”

Intrigue surrounding the Astros during the playoffs is nothing new.

Just last week, Tampa Bay’s Tyler Glasnow said he was tipping pitches after allowing four runs in the first inning of ALDS Game 5.

And during the 2018 playoffs, Cleveland filed a complaint with MLB claiming a man associated with the Astros attempted to film in its dugout during Game 3 of the ALDS. In the ALCS against the Red Sox, a man with a camera was removed from an area near the Boston dugout in the first game of the series.

Certainly, the results weren’t good in Game 1, as Hinch pointed out.

“We got three hits and no runs,’’ Hinch said. “And so nobody heard it. You guys have audio, video, people in places and nothing. And there’s no evidence of anything. … So to the Yankees, there’s … nothing bad going on.’’

Hinch did concede they would continue to look for pitch-tipping tendencies, and the Yankees have been especially careful in defending against that in this series.

“We prepare for a team in a lot of different ways,’’ Boone said. “We try to be buttoned up in every possible way. Scout our guys, scout the opposing teams. So I don’t worry about it honestly.’’

James Paxton, set to start Game 5 on Friday, was hit hard in his Game 2 outing, when he allowed four hits and a run in 2 ¹/₃ innings in Houston. The lefty believed he tipped pitches during a start at Minute Maid Park in April but was confident he didn’t do so in this series.

“In the game, I need to focus on pitching,’’ Paxton said. “We try to mitigate that and look at it between starts and we didn’t think they had anything — and still don’t. So I’m going to go out there and compete. If there’s anything we think they’ve got in the game, we’ll address that, but as of right now I don’t think they have anything.’’