Home Depot Inc. took steps to reassure customers through its website and social-media accounts about a potential data breach of credit and debit cards.

The home-improvement retailer said Wednesday that it still hasn't determined whether a breach actually occurred but told customers they won't be responsible for any possible fraudulent charges on their credit or debit cards if one did.

Home...