I thought the secrecy act could not be used if it was for criminal actions?

Nope , they used to have a public interest get out clause , but Thatcher done away with that when someone at GCHQ went public (in the public interest )about the British governments arms shipments to the IRA .