In the comic book series ElfQuest, when two elf tribes — the Wolfriders and the newly-introduced Go-Backs — join forces to wage war against the trolls of King Guttlekraw, the elves form a grudging alliance with the trolls formerly led by the late King Greymung, who have been enslaved by Guttlekraw, even though Greymung's trolls have been the hated enemies of the Wolfriders ever since betraying them back at the start of the storyline. The Go-Backs, meanwhile, would never have thought of teaming up with trolls of any kind, period... But it's probably only because of this uneasy alliance that Guttlekraw's trolls are defeated.
Tom Strong spent nearly a dozen issues befriending and helping various entities and past enemies. The scenario used them all.... to deal with a ludicrous, never before/ never again seen, dead-in-one-issue menace. This may or may not have been a parody, though.
The climax of the Lucifer comic involves the invasion of Heaven by a vast army, Lucifer himself forced to gather together a truly motley group of allies from past stories to defend it. Unfortunately at least one of them wouldn't mind killing him, and none of them particularly like him (or heaven for that matter).
Grant Morrison's run on JLA ended with the entirety of Earth gaining superpowers and joining with the Justice League to fight a potentially galaxy-destroying menace.
This was also something of a bookend moment, as Morrison's run began with an arc where all Earth's people hold up lighters, matches, and torches in order to defeat a Martian invasion (Martians in the DCU being weak against fire.)
Nearly everyone the Jaime ReyesBlue Beetle had befriended (and a few of the previous Beetle's old friends, but oddly not the team he was affiliated with at the time) came to the aid of either Beetle himself or his family and closest friends as he fought off The Reach during the "Endgame" arc.
Issue #125 of the Archie Sonic the Hedgehog comic had just about every hero and villain still alive teaming up to fend off an alien invasion.
The first story arc of Kurt Busiek's run on The Avengers sees virtually all of the (still-living) former Avengers teaming up to fight Morgan le Fay.
In the What If?: House of M one-shot, instead of saying 'no more mutants', Scarlet Witch utters 'no more powers', and the result is that every super-powered being throughout the Marvel universe loses their powers. The Red Skull uses this as an opportunity to take control by using the Cosmic Cube, assembling the Hand and HYDRA to use as his army, murdering the remaining active Young Avengers and the Fantastic Four, and announcing his intentions to bring about the Fourth Reich. Iron Man creates new armors for the remaining Avengers to wear in order to challenge him, and Cyclops rallies the X-Men, armed with Shiar tech, to take out the Red Skull. This fails, resulting in heavy casualties for both the Avengers and X-Men. Peter Parker enters the fray, announcing to the citizens of New York, who were cowering in the shadows, that they can no longer stand by and wait for heroes to save them, and that they are all needed in order to save the world, because it is the responsibility of everyone to stop injustice, powers or no. Peter then leads an army of New Yorkers, many of whom stand no chance of winning (children, the elderly etc), into battle with the Red Skull and his army. The heroes win.
In Batgirl #23 Stephanie pulls this by calling in various super-powered girls to help her defeat the Reapers, even trusting Supergirl's superhearing enough to trust that she'd hear the word "Shazam!" from wherever she happened to be at the moment...which happened to be the Hall of Justice.
Minor example in Birds of Prey #111 which deals with Oracle going undercover at a tech convention and ending up in a tight spot with Calculator and Hellhound. Back at headquarters, Misfit gets the idea to text the entire convention list and send them all to Oracle's aid.
When The Avengers are facing their Darkest Hour during Avengers Disassembled, Hawkeye announces to Captain America that some heroes have arrived outside the Avengers Mansion. Cap steps out to see every former and reserve Avenger has shown up to help.
In The Superman Adventures, Superman, trapped in Jimmy Olsen's body in Darkseid's torture cellar, uses the signal watch to get Jimmy's attention. Jimmy-as-Superman busts into the cellar and reverses the body swap.