We don't need to create a PR if the commit is atomic
When committing atomic changes of a “thing”, it has to have the following items included:
- Actual code changes
- Tests/specs
- Documentation
- Reference to an issue number (or a link to an external issue tracking software)
If the commit includes these, we can directly commit it into the main
branch.
However, this wouldn’t work in a team setting since it requires too much discipline from other people. Also committing directly to the main
branch can be dangerous.