Currently, we trying to integrate CI/CD into our app. I can setup a workflow like this:
PR opened -> TestFlight
But we want to use it like this:
PR opened -> Code Review
PR Approval -> TestFlight
Is there any way to catch the Pull Request Approval event in XCode Cloud and do what I want?
I don't think there is support for that at the moment, but you could build it yourself with webhooks if wanted to go down that route.
I did something similar with one of GitHub's webhooks to upload to TestFlight using Xcode Cloud when a comment is left on a PR. If that sounds like something you'd be open to exploring I have an article on the topic:
https://www.polpiella.dev/github-webhooks-and-xcode-cloud