This repository was archived by the owner on Sep 30, 2024. It is now read-only.
batches: use correct repository field for check_suite & check_run webhook events#52035
Merged
BolajiOlajide merged 5 commits intoMay 16, 2023
Merged
Conversation
courier-new
approved these changes
May 16, 2023
courier-new
left a comment
Contributor
There was a problem hiding this comment.
Thanks!! Looks reasonable to me!
github-actions Bot
pushed a commit
that referenced
this pull request
May 16, 2023
…hook events (#52035) Closes #51782 GitHub (not sure of how recent this change is) removed the `repository` field from the `CheckSuite` and `CheckRun` field from the `check_suite` and `check_run` events. This resulted in the CI status for customers needing to be updated. I tested this on S2 and I had the same issue. Here's a link to the [Batch Change I created on S2](https://sourcegraph.sourcegraph.com/users/BolajiOlajide/batch-changes/wh-test?visible=1) (cherry picked from commit 9578c41)
camdencheek
pushed a commit
that referenced
this pull request
May 16, 2023
…& check_run webhook events (#52043) Closes #51782 GitHub (not sure of how recent this change is) removed the `repository` field from the `CheckSuite` and `CheckRun` field from the `check_suite` and `check_run` events. This resulted in the CI status for customers needing to be updated. I tested this on S2 and I had the same issue. Backport 9578c41 from #52035 Co-authored-by: Bolaji Olajide <25608335+BolajiOlajide@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #51782
GitHub (not sure of how recent this change is) removed the
repositoryfield from theCheckSuiteandCheckRunfield from thecheck_suiteandcheck_runevents.This resulted in the CI status for customers needing to be updated. I tested this on S2 and I had the same issue.
Here's a link to the Batch Change I created on S2
Here's a changeset that got created via a Batch Change with CI checks passing:
Here's the batch change on S2 not showing the status checks:
Context
Test plan
To test this, you must send a webhook payload to your Sourcegraph instance manually. This fix is specific to GitHub webhooks, here's a sample payload for the
check_runevent.