The power-hitting left fielder just didn't know whether he'd get the green light from third base coach Ron Washington.
"I knew it was in the gap, so run as hard as I can," Riley said. "If he wants to stop me, he'll stop me. He didn't stop me. A good hit by Ozzie and a good team win."
Riley tied the game with a solo homer in the ninth inning and scored the winning run on Albies' double off Michael Feliz in the 11th, leading the Atlanta Braves past the Pittsburgh Pirates 8-7 for their sixth straight victory Wednesday night.
The Braves (39-29) took over sole possession of first place in the NL East and moved 10 games over .500 for the first time this season.
After Riley was hit by a pitch on his left hand in the 11th, Albies drove a gapper into right-center and Riley slid headfirst across the plate to end it.
"As soon as I hit it in the gap," Albies said, "I knew he would score and win this game."
Jacob Webb (4-0) pitched two innings to earn the victory.
Feliz (2-3) took the loss.
Rain delayed the game for 55 minutes in the seventh.
Braves starter Mike Soroka allowed career highs of five runs and 10 hits in five innings. The 21-year-old began the night having given up one run or less in nine of 10 starts this season, but did not factor in the decision. Soroka, whose ERA rose 54 points to 1.92, walked one and struck out three.
Atlanta led 3-0 in the first on Nick Markakis' opposite-field RBI single and Riley's triple. The Braves were up 4-2 in the second after Freddie Freeman's RBI single and 6-2 in the third following Soroka's two-run single.
Pittsburgh made it 3-2 in the second on RBI singles by Adam Frazier and Elias Diaz and 6-4 in the fourth on Kevin Newman's two-run double. Starling Marte's 10th homer cut the margin to 6-5 in the fifth.
"We had our backs against the wall a little bit, but we battled back and gave ourselves a chance," said Bell, who leads the majors with 61 RBI. "It's good mojo going into tomorrow."
Mitch Keller, making his second career start for Pittsburgh, allowed six runs and 10 hits in three innings. His ERA rose 1.93 points to 15.43.
Pirates: Director of sports medicine Tom Tomcyzk said C Francisco Cervelli, on the injured list since May 26 with a concussion, has no symptoms and is scheduled to be re-examined by a neurologist in the next couple of days. Tomcyzk said Cervelli feels normal in everyday life, but has yet to be cleared. The 33-year-old Cervelli has a long history with head injuries during his 12-year career, including six documented concussions since 2011.
Braves: CF Ender Inciarte, on the injured list since May 15 with a lumbar strain, still has no timetable to resume baseball activities. "It's still biting him a bit. I think he has good days, has bad days, taking it a day at a time," manager Brian Snitker said. "He's not in that position now to even look ahead where he might -- until he starts running the bases, hitting and all that stuff."
Braves shortstop Dansby Swanson saved a run in the third. Running into left field, he bumped into third baseman Josh Donaldson a bit as both players pursued the shallow fly. Swanson called off Donaldson and Riley to turn and make a difficult basket catch.
The rookie slugger became the fastest player in franchise history to reach 10 homers, doing so in 26 games to break the mark set by Wally Berger of the Boston Braves in 1930. Riley also tied Earl Torgeson of the 1947 Boston Braves as the quickest to 29 RBI, in 26 games. ... Riley had his left hand wrapped in ice after the game. He said he was sore from getting hit by the pitch, but not in pain.
The Braves signed their first-round draft pick, Baylor catcher Shea Langeliers. Atlanta chose Langeliers with the ninth overall selection, which it received as compensation for not signing last year's No. 8 pick, pitcher Carter Stewart.
Pirates: RHP Joe Musgrove (4-6, 4.40 ERA) starts for the second time in the four-game series after getting ejected in the first inning Monday following a confrontation with Donaldson.
Braves: RHP Julio Teheran (4-3, 3.03) is 2-0 with a 0.70 ERA in his last seven starts.
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP-Sports
Brewers hang on for 5-4 win over Braves
Josh Hader struck out Ozzie Albies with two outs and the bases loaded in the ninth to preserve the Milwaukee Brewers' 5-4 win over the Atlanta Braves on Wednesday.
Mets bash way to 4th straight win, 15-4 over Twins
Dominic Smith put the New York Mets in front with his pinch-hit, three-run homer in the seventh inning, and Home Run Derby champion Pete Alonso added a 474-foot shot halfway up the third deck in a 14-4 victory over Minnesota on Wednesday that gave the...
Smith powers the Mets with 3-run dinger
Dominic Smith goes yard in the 7th inning, scoring three runs to put the Mets on top vs. the Twins.
Alonso crushes homer 474 feet
Pete Alonso sends a 2-run home run to the third deck at Target Field, the longest of his career at 474 feet.
Goldschmidt's 3-run homer lifts Cardinals over Pirates 6-5
Paul Goldschmidt hit a go-ahead, three-run homer off Michael Feliz in the seventh inning, and the St. Louis Cardinals beat Pittsburgh 6-5 on Wednesday, dealing the Pirates their fifth loss in six games.
A-Rod on new Hall of Famer Edgar Martinez: 'He would have a Ph.D. in hitting'
To begin a first-person series about the 2019 Hall of Fame class, Alex Rodriguez explains what made Edgar Martinez a great hitter and how the Mariners icon influenced him as a mentor.