I find that my guys only go into the garbage if there is something "interesting" in there (but what is interesting to a cat may not be interesting to us ) I always make sure to empty it out regularly and don't put anything "tempting" in it.

Good luck