github

package
v0.0.4-alpha.39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2026 License: EUPL-1.2 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Repos  []string // "owner/repo" format
	APIURL string   // override for testing (default: https://api.github.com)
}

Config configures a GitHubSource.

type GitHubSource

type GitHubSource struct {
	// contains filtered or unexported fields
}

GitHubSource polls GitHub for pipeline signals from epic issues.

func NewGitHubSource

func NewGitHubSource(cfg Config) *GitHubSource

NewGitHubSource creates a GitHubSource from the given config.

func (*GitHubSource) Name

func (g *GitHubSource) Name() string

Name returns the source identifier.

func (*GitHubSource) Poll

Poll fetches epics and their linked PRs from all configured repositories, returning a PipelineSignal for each unchecked child that has a linked PR.

func (*GitHubSource) Report

Report is a no-op for the GitHub source.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL