Part of "Enhance the static-analysis workflow" issue. #14164 Signed-off-by: Cenk Alti <cenkalti@gmail.com>