Something went wrong. Try again.
Monorepo for Tangled tangled.org
Something went wrong. Try again.
1.5 kB · 33 lines
Go
at sl/sh-org
12345678910111213141516171819202122232425262728293031323334// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
package org_tangled
// schema: org.tangled.event.pullRequest
import ( "github.com/bluesky-social/indigo/lex/util")
const ( EventPullRequestNSID = "org.tangled.event.pullRequest")
func init() { util.RegisterType("org.tangled.event.pullRequest#main", &EventPullRequest{})} // EventPullRequest is a "main" in the org.tangled.event.pullRequest schema.// When pull request is created or resubmitted.//// RECORDTYPE: EventPullRequesttype EventPullRequest struct { LexiconTypeID string `json:"$type,const=org.tangled.event.pullRequest" cborgen:"$type,const=org.tangled.event.pullRequest"` // action: The pull request lifecycle action that produced this trigger. Action *string `json:"action,omitempty" cborgen:"action,omitempty"` // pull: AT-URI of the pull request 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: Commit id of the pull request head. SourceSha *string `json:"sourceSha,omitempty" cborgen:"sourceSha,omitempty"` TargetBranch *string `json:"targetBranch,omitempty" cborgen:"targetBranch,omitempty"`}