Xcode Cloud workflow
To create workflow open Xcode project->Report navigator->Cloud->Create
Select product
Edit workflow
Edit name and select clean build
Select custom branch and choose a branch
Select correct deployment preparation. Sometimes all options are not visible so you need to edit a workflow after creating
Grant access to source code. It will open link in browser
Connect Xcode clound with GitHub and authorize it
Select needed repository and install
After granting access tap next
Xcode cloud workflow is configured. Manual build won’t pass so close the window
If project is using Pods, add post clone script
Edit next build number
Start manual build from App Store Connect or Xcode
Add Slack channel for notifications