github/

directory
v0.0.0-...-5bad905 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: AGPL-3.0

README

Github

This package contains our wrappers and tooling for working with github.

subpackages

client

The client package contains our idiomatic client for working with the github api. This client supports loading credentials using a github installation ID.

ghClient, err := client.New(g.v,
  client.WithAppID(appKeyID),
  client.WithAppKey(appKey),
)
if err != nil {
  return "", fmt.Errorf("unable to get github client: %w", err)
}

# use the client
resp, _, err := ghClient.CreateInstallationToken(ctx, g.InstallID, &github.InstallationTokenOptions{
  Repositories: []string{g.RepoName},
})

todo + roadmap

  • we would like to move the github tooling from api into this package, to make it a standard abstraction.
  • we would like to move the github tooling from workers-executors to this package

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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