Who decides which contributions are accepted?

Open source explained in plain language.

This is usually done by the maintainers or administrators of the project. They assess whether a contribution is in line with the quality, direction and agreements of the project.

Open source does not mean that every change automatically becomes part of the official project.