Actions of weak Hopf algebras