Hello!
We're using Bitbucket Server v5.8.0 and trying to achieve some special workflow: for our `/dist` directory with compiled files (needed in git repo for some reason) we want the conflicts never to occur. Means that any conflict within `dist` directory should be resolved with (for example) `ours` strategy in all the PRs.
So far we've done:
- added `.gitattributes` file to all of the branches with content `dist/ merge=ours` (tried `dist/**/* merge=ours` too)

- executed `git config --global merge.ours.driver true` on a developer's machine and on Bitbucket Server machine under BB service user both
– and so far this works on local machine when merging a branch to master, but doesn't seem to work in Bitbucket Server during the PR merge checks

Please help us fight these conflicts 
Thanks!
Regards,
Evgeniy