~james/core

core/api/org_tangled/eventpullRequest.go -rw-r--r-- 1.4 KiB
452f17b7 — james chore(import): snapshot james.dad.town/core at f70c71c7696a 14 hours ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// 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: EventPullRequest
type 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"`
}