Your employer may not discriminate against you because you have declared bankruptcy. According to Federal law [11 USCA ‘525(b)]
A private employer may not terminate the employment of, or discriminate with respect to employment against an individual that is or has been a debtor in bankruptcy (or another person with whom the debtor has been associated) solely because the debtor:s or was a debtor in bankruptcy proceedings; or was insolvent before commencement of the bankruptcy case, or during the case but before the debtor is granted or denied a discharge; or has not paid a debt that is dischargeable in the case or was discharged in bankruptcy.
There is a similar provision that protects government employees from discrimination.
If an employer violates this law and discriminates against you for any of the above reasons you can sue your employer (or former employer if you’ve been fired) for a violation of your civil rights under 42 USCA ‘ 1983.