Payload schema
branchstring
The branch that was synced.
commitOidstring
The adopted GitHub head.
forcedboolean
True when diverged local history was overwritten.
ownerstring
GitHub owner of the sync source.
previousCommitOidstring | null
The local head before the sync, or null when the branch was empty.
repostring
GitHub name of the sync source.
resetbooleanoptional
True when the artifact was destroyed and recreated (resetFromGithub).
Raw JSON schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"branch": {
"type": "string",
"description": "The branch that was synced."
},
"commitOid": {
"type": "string",
"description": "The adopted GitHub head."
},
"forced": {
"type": "boolean",
"description": "True when diverged local history was overwritten."
},
"owner": {
"type": "string",
"description": "GitHub owner of the sync source."
},
"previousCommitOid": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The local head before the sync, or null when the branch was empty."
},
"repo": {
"type": "string",
"description": "GitHub name of the sync source."
},
"reset": {
"description": "True when the artifact was destroyed and recreated (resetFromGithub).",
"type": "boolean"
}
},
"required": [
"branch",
"commitOid",
"forced",
"owner",
"previousCommitOid",
"repo"
]
}