Verify this with a lawyer but if you can get the eviction (serve 5 day notice, file at the courthouse, go to court, get eviction served) before bankruptcy, then you're ok. You can enforce an eviction notice but can't get one.
I would think if you're listed as a creditor, you would be notified of their bankruptcy case.You can look up such things here: https://www.pacer.gov/findcase.html
(There is a nominal fee after looking at a certain number of pages, but I haven't hit that threshold yet.)
I have a friend who is apparently declaring bankruptcy. This person has been talking about it for awhile, met with a lawyer in early December, and is going through counseling or coursework on it, and THEN I think it gets filed. My understanding is if you could get it all done before filed, you're OK. Of course this person has also said if the job change she's going for happens, she wants to move into one of my POHs. (Noooo!)
In short, hurry.