zedthree/clang-tidy review

Create a pull request review based on warnings from clang-tidy

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
tokenAuthentication tokenno${{ github.token }}
build_dirDirectory containing the compile_commands.json fileno.
base_dirAbsolute path to initial working directory. Useful if generating `compile_commands.json` outside of the Action${{ github.workspace }}
clang_tidy_versionVersion of clang-tidy to use; one of 14, 17, 18, 19, 20, 21no21
clang_tidy_checksList of checksno-*,performance-*,readability-*,bugprone-*,clang-analyzer-*,cppcoreguidelines-*,mpi-*,misc-*
extra_argumentsExtra arguments to pass to the clang-tidy invocationno""
config_fileLocation of .clang-tidy config file. If specified, takes preference over `clang_tidy_checks`no""
includeComma-separated list of files or patterns to includeno*.[ch],*.[ch]xx,*.[ch]pp,*.[ch]++,*.cc,*.hh
excludeComma-separated list of files or patterns to excludeno""
apt_packagesComma-separated list of apt packages to installno""
install_commandsCommands to execute after `apt_packages` and before `cmake_command`no""
cmake_commandIf set, run CMake as part of the action using this commandno""
max_commentsMaximum number of comments to post at onceno25
lgtm_comment_bodyMessage to post on PR if no issues are found. An empty string will post no LGTM comment.noclang-tidy review says "All clean, LGTM! :+1:"
split_workflowOnly generate but don't post the review, leaving it for the second workflow. Relevant when receiving PRs from forks that don't have the required permissions to post reviews.nofalse
annotationsUse annotations instead of comments. See README for limitations on annotationsnofalse
parallelNumber of tidy instances to be run in parallel. Zero will automatically determine the right number.no0
include_context_linesInclude the 3 context lines above and below changes (default: false). This is useful when removing lines, as it allows `clang-tidy` to raise warnings on the context around deleted lines. Include the 3 context lines above and below changes. These can still be commented on in Github Reviews.nofalse
error_actionAction to take when encountering compile errors from Clang (clang-diagnostic-error). 'post' (default) will post the error as-is. 'skip' will ignore the error but post other errors. 'abort' will stop the action with an error if one is found.nopost
pr${{ github.event.pull_request.number }}
repo${{ github.repository }}
namedescription
total_commentsTotal number of warnings from clang-tidy