A neat workflow I've seen is developing on PR and using interactive rebase/force push. Once the feature is complete, it usually can be contained to a single commit.
Since you can freely force push to feature branch, this workflow will still be able to use CI/CD pipelines while keeping the main branch clean.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
A neat workflow I've seen is developing on PR and using interactive rebase/force push. Once the feature is complete, it usually can be contained to a single commit.
Since you can freely force push to feature branch, this workflow will still be able to use CI/CD pipelines while keeping the main branch clean.