With chants of “Hey, Obama, we don’t want no climate drama” urging them on, about 50 activists were arrested outside the White House on Wednesday while protesting the Keystone XL oil sands pipeline.

Among those taken into custody were actress Daryl Hannah and civil-rights activist and former politician Julian Bond.

Green groups led the effort, escalating their pressure on President Obama — who has final say on the pipeline because it crosses into Canada — to nix the project.

“The Keystone pipeline has become the purest test that there’s ever been on whether the president is serious about doing something about climate change or not,” climate activist and 350.org founder Bill McKibben said in a speech at Lafayette Square before he and 47 others eventually zip-tied themselves to the White House gate.