Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Create a GitHub deployment for the batch head #982
It's not currently possible for other apps to identify deployments associated with the head of the deploy batch - we create one for the PR head of any included pull requests, so context appears in the PR timeline, but this is not sufficient to to discover the full range of commits. This PR creates a deployment for the head of the batch being deployed, in addition to the deployments for each PR.
Some refactoring was required here: