Replace ProjectPush with a Commit.fabricate_via_api
What does this MR do and why?
In line with our best practices we should prefer using the API i.e. Commit rather than using the raw shell commands of ProjectPush https://docs.gitlab.com/ee/development/testing_guide/end_to_end/best_practices.html#prefer-commit-resource-over-projectpush
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.