The IRS must cease collection actions after a bankruptcy is filed, just like all other creditors. The automatic stay protects the debtor and the debtor's property.
Whether the tax claim will survive the bankruptcy, (that is, whether it is nondischargeable) depends on many variables.