A) I will not work on/for military/defense products/clients, unless there is some blatantly obvious noble characteristic about the project (I come from a background in video analytics).
B) I will not work on/for conservative products/clients.
Luckily I'm in a job and industry where both of these are pretty unlikely.
I've done the latter (B) once and I really, really regret my role in it to this day. It only took once, just once, but it just happened to be one of the of the worst offenders in the U.S. political landscape. Knowing that I basically optimized disinformation campaigns and built media platforms for some of these people eats at my soul, especially when I see the current state of the U.S. -- I helped some jackass convince a whole slew of people that electing a fraud was the Right (TM) choice. Now we have concentration camps for children (with no reunification process), our healthcare is even worse than it was somehow, we're in multiple trade wars, and we definitely don't give a single shit about the environment (look at today's news feed about the U.S. drilling policies). And I helped it happen.
Sorry for the rant. But engineers have a moral duty to be selective in who they're aiding. I was all too happy to watch pretty graphs go up, and up, and up. I was foolish. I just cared about the project and how challenging it was. Good on the engineers at Google for being principled.