Unify whitelist in commit script and in CI [skip modfiles]
check_added_files.sh
contained 2 checkWhiteList
functions, one from checkWhitelist.sh
and a local implementation. I remove the local implementation so that we only have 1 definition in the whole package.