How do you handle regression testing in agile development environments with frequent code changes?

We base everything off what we think the impact of the code change could be and what level of risk it could have. So if its a high impact and a high risk then I’ll definitely do some regression/exploratory testing in that area. If its a low risk or impact then I may leave it to the automated tests.