Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make format check pipeline only react on diff'd files #128

Open
mortbopet opened this issue Feb 26, 2025 · 0 comments
Open

Make format check pipeline only react on diff'd files #128

mortbopet opened this issue Feb 26, 2025 · 0 comments

Comments

@mortbopet
Copy link
Contributor

Currently, the format check pipeline will check the entire repo for out-of-format files. This is an issue for PRs which may have failing format PR gates without having touched other files in the repo, if those files somehow have drifted away from the accepted format.

For clang-format, i would recommend to borrow/steal the steps here which runs clang-format on the git diff, and prints/uploads patches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant