When pull request is created or resubmitted.
Properties
action
string
Optional
The pull request lifecycle action that produced this trigger.
pull
string
at-uri
Optional
AT-URI of the pull request record this run belongs to.
sourceBranch
string
Optional
No description available.
sourceRepo
string
did
Optional
Repository DID to check out code and workflow definitions from, if different from the target repo.
sourceSha
string
Optional
Commit id of the pull request head.
maxLength: 64 bytesminLength: 40 bytestargetBranch
string
Optional
No description available.
View raw schema
{
"description": "When pull request is created or resubmitted.",
"properties": {
"action": {
"description": "The pull request lifecycle action that produced this trigger.",
"enum": [
"opened",
"reopened",
"closed",
"merged",
"synchronize"
],
"type": "string"
},
"pull": {
"description": "AT-URI of the pull request record this run belongs to.",
"format": "at-uri",
"type": "string"
},
"sourceBranch": {
"type": "string"
},
"sourceRepo": {
"description": "Repository DID to check out code and workflow definitions from, if different from the target repo.",
"format": "did",
"type": "string"
},
"sourceSha": {
"description": "Commit id of the pull request head.",
"maxLength": 64,
"minLength": 40,
"type": "string"
},
"targetBranch": {
"type": "string"
}
},
"type": "object"
}