You basically need the organization to value it as a whole.
I was with you a few months ago. I am now one of those developers you are frustrated with.
The reality is that people have certain timelines in mind and those never change. You demo something to them and then they are "where is it? where is it?" And they will do that every single time. That is on top of people who are concerned about keeping things moving along. Organizations also tend to value certain things and those values drive how things are done.
The conversation usually goes like this:
Person: "Hey, where is that feature you showed me yesterday?"
Me: "It is awaiting code review."
Person: "Well, we need it to QA/fix production issue/have it in the sprint demo/for client meeting tomorrow"
Me: "It is behind the thing you asked me about yesterday in the queue."
Person: "Well, we need it to QA/fix production issue/have it in the sprint demo/for client meeting tomorrow"
Me: "I will see what can be done."
Person (an hour later): "Any update? We need it to QA/fix production issue/have it in the sprint demo/for client meeting tomorrow."
After months and months of that, git push
is a heck of a lot easier to do. Especially since as far as they are concerned, it is urgent, so they are highly motivated to get it. In many ways they are right as the deadlines are real and not something they can control. So even from the perspective of being a business unit, it is probably the correct decision.
For processes to survive, the organization as a whole (or at least the entire business unit) has to value them. Your organization clearly doesn't. Does it result in more bugs? Probably. But people outside software have come to accept bugs as just something that happens, so preventing them is often not the leading priority.
It is a question of trade offs, both for the organization and for the individual developers.
If you want to fix this, you basically need to convince sales, the Scrum master, and the product owner that there is value in not bypassing this process. They probably view it as bureaucracy.