The end goal we would like to achieve is to send a notification email that has a link to install the app and the comments that have been included from merging a pull request. The reason being is that we would like the person responsible for testing new builds to have everything in one location. We don’t want to send one email with the install link and another listing what changed in this release.
The Deploy to Bitrise IO step has a default notification email option, but it does not satisfy our requirements. I thought I solved this issue by using a Script step combined with Mailgun step to create my own custom email notification. To my dismay I found out I was not including the pull request comments, but rather the Github commit message.
I was hoping that there would already be a mechanism in Bitrise for achieving this, but as far as I’m aware, Bitrise does not create an environment that contains the pull request comments. So, I’m looking to roll my own using the Github Developer API. I plan on including these calls in my existing Script step and saving them with envman so that they persist to my other steps.