I want to prevent that it's possible to push *.log files into the master branch via merging a pull request.
I have the Scriptrunner add-on available but can't find a useful example of how to access the source files of the repository which is about to be merged. I checked the BItbucket Server API but didn't find a way to access the repository contents. Please help!