You're likely thinking of the Freedom Rides of 1961—not the Montgomery Bus Boycott.
Organized by CORE (Congress of Racial Equality) and later SNCC (Student Nonviolent Coordinating Committee). Black and white activists rode interstate buses together into the segregated South to challenge the non-enforcement of Boynton v. Virginia (1960), which banned segregation in interstate travel. Riders faced violent attacks, firebombings, and arrests—drawing national attention to Jim Crow brutality.
Sparked by Rosa Parks' arrest. Black residents refused to ride city buses at all. It successfully ended segregation on Montgomery's buses—but did not involve integrated riding.
Freedom Rides = Black and white people riding together as direct confrontation.
Bus Boycott = Black community refusing to ride at all as economic pressure.
Both pivotal. Different tactics. Different moments.