Open melinath opened 5 years ago
Good suggestion! Sounds like something a lot of people might want.
If you need something immediately, you can fetch the original webhook JSON string payload (sent by GitHub) using the GraphQL API:
query {
build(slug:"$BUILDKITE_ORGANIZATION_SLUG/$BUILDKITE_PIPELINE_SLUG/$BUILDKITE_BUILD_NUMBER") {
source {
... on BuildSourceWebhook {
payload
}
}
}
}
hmm, that's an interesting workaround, thanks
Github webhooks include usernames in their data; we would like to be able to extract Github usernames from buildkite webhooks (for builds triggered by Github) so that we can use them to match build failures to specific users in a separate application.
(It would also be fine with us if this were included in creator information if that would be preferable to y'all.)