I have an angular project that is tested with karma and jasmine. How to auto-reject pull requests and merge if a unit test has failed. Can i use a forge app for this task? Are there any tutorials i can follow?
Welcome to the Atlassian developer community @oiadsoijdq,
There’s a user community post that describes how you might accomplish this with Bitbucket Pipelines:
More recently, Bitbucket Cloud has launched a feature to use Forge to build custom merge checks:
I already read those and they don’t help much. How do i run the test script for the project and how do i get its results in the forge app and if it is even possible.