ci(static-checks): update line-endings script

This patch updates the line-endings script to filter for source and doc
files in a given diff before checking for CLRF.

Signed-off-by: Wing Li <wingers@google.com>
Change-Id: I4f7d504e121edd40c3ba835557fc103dea9a5d64
1 file changed