HOUSTON — Aaron Hicks made it onto the roster for the ALCS, but not onto the field in the Yankees’ 7-0 win over the Astros on Saturday night at Minute Maid Park.

The Yankees got Hicks and CC Sabathia back after both veteran players recovered from injuries.

Aaron Boone went with the same personnel in his lineup as in the three-game sweep of Minnesota in the ALDS, with Brett Gardner in center and Giancarlo Stanton in left.

And when Boone removed Stanton for defense in the bottom of the eighth, he again went with Cameron Maybin.

Hicks last played on Aug. 3, when he suffered a flexor strain near his right elbow. His throwing program was shut down shortly after it began, leading Boone to say he didn’t expect the center fielder to return, even in the playoffs.

And after getting a second opinion from Dr. Neal ElAttrache in California last month, Hicks was advised to take more time off.

Instead, Hicks said he felt improvement in the area and started throwing again at his home in Arizona “despite the recommendations’’ of doctors, according to general manager Brian Cashman.

It paid off, as Hicks showed the Yankees enough in a workout at Yankee Stadium on Thursday and at Minute Maid Park on Friday that he made it back for their most important series of the season.

Sabathia wasn’t on the Yankees’ ALDS roster after feeling discomfort in his left shoulder following a one-inning relief stint on Sept. 24 against the Rays. The Yankees also kept lefty Tyler Lyons, as they went with 13 pitchers against Houston.

“CC obviously threw his side a few days ago and thought he looked really good,’’ Boone said of the decision to include the left-hander, who didn’t appear in Saturday’s opener. “I thought he was sharp. I thought he was able to really finish his pitches and then the bounce back the next day. I just felt like physically, he was sound to go and feel like there’s a role for him in this series — and maybe a couple different ways we saw the value there.’’

The moves meant first baseman Luke Voit and utility player Tyler Wade were left off the roster.

“It [stinks],’’ Voit said. “You want to be there because I’ve been on the team all year, but I have the mindset of being there for my teammates. I know I have a chance of a pinch-hitting role in the World Series.”

Boone, after using the same lineup for all three games in Minnesota in the ALDS, went with the same personnel, but moved Gleyber Torres up to the three-hole and bumping Brett Gardner down to No. 6.

He also acknowledged the “unknown” regarding Hicks.

“I could see that role evolving,’’ Boone said. “A lot can change over the course of a series. … He’s obviously a very good player, an impact player. And he’s healthy and sound and worked hard to get back to this point to put himself in that conversation. The big unknown is he just hasn’t played any games for a while.”

Here is the Yankees’ full ALCS roster:

Pitchers

Zack Britton

Luis Cessa

Aroldis Chapman

Chad Green

J.A. Happ

Tommy Kahnle

Jonathan Loaisiga

Tyler Lyons

Adam Ottavino

James Paxton

Luis Severino

Masahiro Tanaka

CC Sabathia

Catchers

Austin Romine

Gary Sanchez

Infielders

Edwin Encarnacion

Didi Gregorius

DJ LeMahieu

Gleyber Torres

Gio Urshela

Outfielders

Brett Gardner

Aaron Hicks

Aaron Judge

Cameron Maybin

Giancarlo Stanton