Skip to content

Conversation

@wolfy1339
Copy link
Contributor

@wolfy1339 wolfy1339 commented Mar 2, 2021

Why:

Closes #3962

What's being changed:

Updates the properties table for this webhook event to match the payload example.

Check off the following:

`check_run[check_suite][id]`|`integer` | The id of the check suite that this check run is part of.
`check_run[check_suite][pull_requests]`|`array`| An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty.{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "[email protected]" or currentVersion == "github-ae@latest" %}
`deployment`|`object`| A deployment to a repository environment. This will only be populated if the check run was created by a {% data variables.product.prodname_actions %} workflow job that references an environment.{% endif %}
`check_run[check_suite][deployment]`|`object`| A deployment to a repository environment. This will only be populated if the check run was created by a {% data variables.product.prodname_actions %} workflow job that references an environment.{% endif %}
Copy link
Contributor

@megbird megbird Mar 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@skedwards88 just want to confirm that this is correct 😄 in your example, it says deployments rather than deployment. Can you verify and approve? thank you!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦 That was a typo by me. deployment is correct.

Copy link
Contributor

@skedwards88 skedwards88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 LGTM! Thank you for taking the time to improve the docs! I'll get this merged down for you.

@skedwards88 skedwards88 added the ready to merge This pull request is ready to merge label Mar 3, 2021
@skedwards88 skedwards88 enabled auto-merge (squash) March 3, 2021 16:21
@skedwards88 skedwards88 merged commit bc5cb9f into github:main Mar 3, 2021
@wolfy1339 wolfy1339 deleted the patch-2 branch June 22, 2021 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready to merge This pull request is ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Discrepancy between properties table and example payoad for CheckRunEvent

3 participants