Documentation ¶
Index ¶
- Constants
- func AddStatusNode(b bool, desc string, details treeprint.Tree) bool
- func GetPRNumFromActionsCtx(actionCtx *githubactions.GitHubContext) (int, error)
- func IndexMap(m map[string]any, keys ...string) any
- func TestLastNodeStatus(t *testing.T, success bool, details treeprint.Tree) bool
- type PRList
- type Status
Constants ¶
View Source
const ( // GitHub Actions Event Names. EventIssueComment = "issue_comment" EventPullRequest = "pull_request" EventPullRequestTarget = "pull_request_target" EventWorkflowDispatch = "workflow_dispatch" // Pull Request States. PRStateOpen = "open" PRStateClosed = "closed" )
GitHub API const.
Variables ¶
This section is empty.
Functions ¶
func GetPRNumFromActionsCtx ¶
Retrieve PR number from GitHub Actions context.
Types ¶
type PRList ¶
type PRList []int
Type used to (un)marshal input/output for check and matrix subcommands.
func (PRList) MarshalText ¶
MarshalText implements encoding.TextMarshaler.
func (*PRList) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler.
Click to show internal directories.
Click to hide internal directories.