[ci] Allow Revert commits in the commit message check
INPUT_FILE=$1
START_LINE=${2:-`head -n1 $INPUT_FILE`}
-PATTERN="^(HUE\-[a-z0-9]+ \[.+\] .+)|(\[.+\] .+? \(#[a-z0-9]+\)|(Merge branch 'master' into .+))"
+PATTERN="^(HUE\-[a-z0-9]+ \[.+\] .+)|(\[.+\] .+? \(#[a-z0-9]+\)|(Merge branch 'master' into .+))|(Revert \".+?\")"
if ! [[ "$START_LINE" =~ $PATTERN ]]; then
echo "'$START_LINE' is not a valid commit message, please see for examples:"
