Branch protection rules for the `main' branch must be enabled. Currently, it is possible to push directly to main without requiring a pull request or passing status checks, which can pose a risk to the stability of the project.
I'm thinking something like this:
Direct pushes to main are blocked.
Pull requests are mandatory with at least one approval.
All required status checks must pass before merging.
If you have any suggestions or counterpoints regarding this change, please feel free to share them so we can discuss and adjust the implementation as needed.
Summary
Branch protection rules for the `main' branch must be enabled. Currently, it is possible to push directly to main without requiring a pull request or passing status checks, which can pose a risk to the stability of the project.
I'm thinking something like this:
main
are blocked.If you have any suggestions or counterpoints regarding this change, please feel free to share them so we can discuss and adjust the implementation as needed.