Currently, Bitbucket only recognizes bitbucket-pipelines.yml file name.
I think that it makes sense to accept the .yaml extension as well, especially since YAML FAQs advise to do so (https://yaml.org/faq.html).