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

Add clang-tidy analysis of pull requests #215

Merged
merged 1 commit into from
Oct 6, 2022

Conversation

skrobinson
Copy link
Contributor

I found an alternate to the previously tried JacobDomagala/StaticAnalysis. platisd/clang-tidy-pr-comments only offers clang-tidy checks, but provides security-compatible use patterns that will allow running checks with PRs from forks.

See an example at skrobinson/pull/8. I'm hoping this action will work as nicely with forks as the example works with branches.

This action runs clang-tidy with results saved to a file which is then
parsed in stage two to post code comments.  This multistage process lets
us post PR comments on code from forks.

Signed-off-by: Sean Robinson <[email protected]>
@p-ranav p-ranav merged commit 537f5e0 into p-ranav:master Oct 6, 2022
@skrobinson skrobinson deleted the feat-pr-tidy branch October 11, 2022 17:14
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

Successfully merging this pull request may close these issues.

2 participants