Description
Detailed description
Currently, all of the Clang Tidy changes are being pushed in forks and appearing in other pull requests. However, these changes are not being pushed to the original repository due to the main
branch being protected. This can be fixed by creating a pull request (running the action only on this repository) and then the maintainers merging the PR to reflect the changes.
Context
This will make it better for both PR creators and reviewers.
- PR creators won't have unwanted changes in their PRs.
- Reviewers won't be confused about other changes in PRs.
- All changes will be pushed to the original repository, and all missed things will be fixed.
Possible implementation
Create a pull request instead of committing directly.
Additional information
We could also make the check fail if the user has missed anything and let the user fix the errors themselves.
It depends on what you like most. Having a PR created makes it easier and faster. Having the user fix the errors themselves helps them learn.
Let me know your thoughts.