How Should I Handle My Credit Card Debt Since I Am Foreclosing on My House?

debt

I am going to let my house in California foreclose. I have about $28,000.00 in credit card debt. Should I file for bankruptcy? Should I just not pay my credit cards? Or should I take up again to pay my credit cards? Is there a certain dollar amount of income you are allowed to make to be able to file for bankruptcy?