validate max length of pipeline name