Something went wrong. Try again.
Monorepo for Tangled tangled.org
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
package tangled
// schema: sh.tangled.ci.trigger
const ()
// CiTrigger_Manual is a "manual" in the sh.tangled.ci.trigger schema.//// RECORDTYPE: CiTrigger_Manualtype CiTrigger_Manual struct { LexiconTypeID string `json:"$type,const=sh.tangled.ci.trigger#manual" cborgen:"$type,const=sh.tangled.ci.trigger#manual"` Inputs []*CiTrigger_Pair `json:"inputs,omitempty" cborgen:"inputs,omitempty"` // ref: optional ref the SHA was resolved from, for display and TANGLED_REF Ref *string `json:"ref,omitempty" cborgen:"ref,omitempty"` // sha: commit SHA the manual run targets Sha string `json:"sha" cborgen:"sha"` // sourceRepo: Repository DID to check out code and workflow definitions from, if different from the target repo. SourceRepo *string `json:"sourceRepo,omitempty" cborgen:"sourceRepo,omitempty"`}
// CiTrigger_Pair is a "pair" in the sh.tangled.ci.trigger schema.type CiTrigger_Pair struct { Key string `json:"key" cborgen:"key"` Value string `json:"value" cborgen:"value"`}
// CiTrigger_PullRequest is a "pullRequest" in the sh.tangled.ci.trigger schema.//// TODO: reference PR record with strongRef instead of embedding raw values//// RECORDTYPE: CiTrigger_PullRequesttype CiTrigger_PullRequest struct { LexiconTypeID string `json:"$type,const=sh.tangled.ci.trigger#pullRequest" cborgen:"$type,const=sh.tangled.ci.trigger#pullRequest"` // action: the pull request lifecycle action that produced this trigger Action *string `json:"action,omitempty" cborgen:"action,omitempty"` // pull: AT-URI of the sh.tangled.repo.pull record this run belongs to Pull *string `json:"pull,omitempty" cborgen:"pull,omitempty"` SourceBranch *string `json:"sourceBranch,omitempty" cborgen:"sourceBranch,omitempty"` // sourceRepo: Repository DID to check out code and workflow definitions from, if different from the target repo. SourceRepo *string `json:"sourceRepo,omitempty" cborgen:"sourceRepo,omitempty"` SourceSha string `json:"sourceSha" cborgen:"sourceSha"` TargetBranch string `json:"targetBranch" cborgen:"targetBranch"`}
// CiTrigger_Push is a "push" in the sh.tangled.ci.trigger schema.//// RECORDTYPE: CiTrigger_Pushtype CiTrigger_Push struct { LexiconTypeID string `json:"$type,const=sh.tangled.ci.trigger#push" cborgen:"$type,const=sh.tangled.ci.trigger#push"` NewSha string `json:"newSha" cborgen:"newSha"` OldSha string `json:"oldSha" cborgen:"oldSha"` Ref string `json:"ref" cborgen:"ref"`}