Nothing! Both are valid according to the YAML spec, however .yaml is the recommended pattern. The shorter .yml was born out of the fact that older versions of Windows restricted file extensions to three characters. You may encounter situations where code generation or other tooling favors one over the other though so be sure to check!