Thomas, who is African-American, claims his supervisor also told him, “There are a lot of black and Spanish people here. Make sure you watch them.”

Racial slurs were routinely thrown around the workplace, including the n-word, the Brooklyn resident claims in his filing.

Thomas, who worked as a CVS “market investigator” from January 2012 to July 2013, said a supervisor told him “watch the black n----rs that come in the store.” That same supervisor would often let white shoplifters go, but get black and Hispanic shoplifters arrested.

Two other ex-investigators made similar allegations in Bronx Supreme Court lawsuits on Monday.

The legal actions come less than a year after four former CVS store cops file a federal discrimination suit against the chain.

Real estate of the CVS store at 64th Street and 2nd Avenue on Wednesday, June 4, 2015. The "shop and frisk" mentality has infected CVS pharmacies throughout the city, a lawsuit charges.