Hacker News new | ask | show | jobs
by rdnetto 2904 days ago
This is standard practice where I work due to SOX compliance. (No pushing directly to master, all PRs need at least one other person's approval). In practice it's not an issue, since PRs are good practice anyway.
1 comments

Yes but you can push to PRs after approval and then merge them.
You could revoke push permissions on that branch after the PR is requested though - there are probably tools that do that already.