Versions in this module Expand all Collapse all v0 v0.2.0 Jun 4, 2026 v0.1.0 May 26, 2026 Changes in this version + type ActionsService struct + func NewActionsService(client *Client) *ActionsService + func (s *ActionsService) CancelWorkflow(ctx context.Context, owner, repo string, runID int64) error + func (s *ActionsService) DeleteArtifact(ctx context.Context, owner, repo string, artifactID int64) error + func (s *ActionsService) DeleteCacheByID(ctx context.Context, owner, repo string, cacheID int64) error + func (s *ActionsService) DeleteCachesByKey(ctx context.Context, owner, repo, key string, ref *string) error + func (s *ActionsService) DownloadArtifact(ctx context.Context, owner, repo string, artifactID int64) (string, error) + func (s *ActionsService) DownloadJobLogs(ctx context.Context, owner, repo string, jobID int64) (string, error) + func (s *ActionsService) DownloadWorkflowLogs(ctx context.Context, owner, repo string, runID int64) (string, error) + func (s *ActionsService) GetArtifact(ctx context.Context, owner, repo string, artifactID int64) (*github.Artifact, error) + func (s *ActionsService) GetWorkflow(ctx context.Context, owner, repo, workflowIDOrFile string) (*Workflow, error) + func (s *ActionsService) GetWorkflowJob(ctx context.Context, owner, repo string, jobID int64) (*WorkflowJob, error) + func (s *ActionsService) GetWorkflowRun(ctx context.Context, owner, repo string, runID int64) (*WorkflowRun, error) + func (s *ActionsService) ListArtifacts(ctx context.Context, owner, repo string, runID int64) ([]*github.Artifact, error) + func (s *ActionsService) ListCaches(ctx context.Context, owner, repo string, ref *string) ([]*github.ActionsCache, error) + func (s *ActionsService) ListWorkflowJobs(ctx context.Context, owner, repo string, runID int64, filter string) ([]*WorkflowJob, error) + func (s *ActionsService) ListWorkflowRuns(ctx context.Context, owner, repo string, workflowIDOrFile string, ...) ([]*WorkflowRun, error) + func (s *ActionsService) ListWorkflows(ctx context.Context, owner, repo string) ([]*Workflow, error) + func (s *ActionsService) RerunFailedJobs(ctx context.Context, owner, repo string, runID int64) error + func (s *ActionsService) RerunJob(ctx context.Context, owner, repo string, jobID int64) error + func (s *ActionsService) RerunWorkflow(ctx context.Context, owner, repo string, runID int64) error + func (s *ActionsService) TriggerWorkflow(ctx context.Context, owner, repo, workflowIDOrFile, ref string, ...) error + type Client struct + Actions *ActionsService + Issues *IssuesService + Milestones *MilestonesService + Projects *ProjectsService + PullRequests *PullRequestService + Repositories *RepositoryService + Sessions *SessionService + func NewClient(token string, julesClient *jules.Client) *Client + type GitRemoteParser struct + func NewGitRemoteParser() *GitRemoteParser + func (p *GitRemoteParser) GetRepoFromGitRemote() (*Repository, error) + func (p *GitRemoteParser) ParseGitHubURL(remoteURL string) (*Repository, error) + type Issue struct + Assignees []string + Body string + ClosedAt *time.Time + CreatedAt time.Time + HTMLURL string + Labels []string + Milestone string + Number int + State string + Title string + URL string + UpdatedAt time.Time + type IssueCreateRequest struct + Assignees []string + Body string + Labels []string + Milestone int + Title string + type IssueUpdateRequest struct + Assignees *[]string + Body *string + Labels *[]string + Milestone *int + State *string + Title *string + type IssuesService struct + func NewIssuesService(client *Client) *IssuesService + func (s *IssuesService) AddComment(ctx context.Context, owner, repo string, number int, body string) error + func (s *IssuesService) AddLabels(ctx context.Context, owner, repo string, number int, labels []string) error + func (s *IssuesService) AssignIssue(ctx context.Context, owner, repo string, number int, assignees []string) error + func (s *IssuesService) CloseIssue(ctx context.Context, owner, repo string, number int) (*Issue, error) + func (s *IssuesService) CreateIssue(ctx context.Context, owner, repo string, req *IssueCreateRequest) (*Issue, error) + func (s *IssuesService) GetIssue(ctx context.Context, owner, repo string, number int) (*Issue, error) + func (s *IssuesService) ListIssues(ctx context.Context, owner, repo string, state string, labels []string) ([]*Issue, error) + func (s *IssuesService) RemoveLabel(ctx context.Context, owner, repo string, number int, label string) error + func (s *IssuesService) UpdateIssue(ctx context.Context, owner, repo string, number int, req IssueUpdateRequest) (*Issue, error) + type Milestone struct + ClosedAt *time.Time + ClosedIssues int + CreatedAt time.Time + Description string + DueOn *time.Time + HTMLURL string + Number int + OpenIssues int + State string + Title string + URL string + UpdatedAt time.Time + type MilestoneCreateRequest struct + Description string + DueOn *time.Time + State string + Title string + type MilestonesService struct + func NewMilestonesService(client *Client) *MilestonesService + func (s *MilestonesService) CloseMilestone(ctx context.Context, owner, repo string, number int) (*Milestone, error) + func (s *MilestonesService) CreateMilestone(ctx context.Context, owner, repo string, req MilestoneCreateRequest) (*Milestone, error) + func (s *MilestonesService) DeleteMilestone(ctx context.Context, owner, repo string, number int) error + func (s *MilestonesService) GetMilestone(ctx context.Context, owner, repo string, number int) (*Milestone, error) + func (s *MilestonesService) ListMilestones(ctx context.Context, owner, repo string, state string) ([]*Milestone, error) + func (s *MilestonesService) UpdateMilestone(ctx context.Context, owner, repo string, number int, ...) (*Milestone, error) + type Project struct + ClosedAt *time.Time + CreatedAt time.Time + Description string + HTMLURL string + ID int64 + Number int + Public bool + State string + Title string + URL string + UpdatedAt time.Time + type ProjectField struct + DataType string + ID int64 + Name string + Options []string + type ProjectsService struct + func NewProjectsService(client *Client) *ProjectsService + func (s *ProjectsService) GetOrganizationProject(ctx context.Context, org string, projectNumber int) (*Project, error) + func (s *ProjectsService) GetUserProject(ctx context.Context, username string, projectNumber int) (*Project, error) + func (s *ProjectsService) ListOrganizationProjects(ctx context.Context, org string) ([]*Project, error) + func (s *ProjectsService) ListProjectFields(ctx context.Context, org string, projectNumber int) ([]*ProjectField, error) + func (s *ProjectsService) ListUserProjects(ctx context.Context, username string) ([]*Project, error) + type PullRequestService struct + func NewPullRequestService(client *Client, julesClient *jules.Client) *PullRequestService + func (s *PullRequestService) GetPullRequestDiff(ctx context.Context, sessionID string) (string, error) + func (s *PullRequestService) GetSessionPullRequest(ctx context.Context, sessionID string) (*github.PullRequest, error) + func (s *PullRequestService) MergePullRequest(ctx context.Context, prURL string, mergeMethod string) error + type Repository struct + DefaultBranch string + Description string + Forks int + FullName string + Name string + OpenIssues int + Owner string + Private bool + Stars int + URL string + UpdatedAt string + type RepositoryService struct + func NewRepositoryService(client *Client, julesClient *jules.Client) *RepositoryService + func (s *RepositoryService) DiscoverCurrentRepo(ctx context.Context) (*Repository, error) + func (s *RepositoryService) ListAccessibleRepos(ctx context.Context) ([]*Repository, error) + func (s *RepositoryService) ListConnectedRepos(ctx context.Context) ([]*Repository, error) + func (s *RepositoryService) SearchRepositories(ctx context.Context, query string, opts *github.SearchOptions) ([]*Repository, error) + func (s *RepositoryService) SyncRepoWithJules(ctx context.Context, owner, repo string) error + type SessionService struct + func NewSessionService(client *Client, julesClient *jules.Client, repoService *RepositoryService) *SessionService + func (s *SessionService) CreateSessionFromCurrentRepo(ctx context.Context, prompt string, branch string) (*jules.Session, error) + func (s *SessionService) CreateSessionFromRepo(ctx context.Context, prompt, owner, repo, branch string) (*jules.Session, error) + type Workflow struct + BadgeURL string + CreatedAt string + ID int64 + Name string + Path string + State string + URL string + UpdatedAt string + type WorkflowJob struct + CompletedAt string + Conclusion string + ID int64 + Name string + RunID int64 + RunnerName string + StartedAt string + Status string + URL string + type WorkflowRun struct + Actor string + Conclusion string + CreatedAt string + Event string + HeadBranch string + ID int64 + Name string + RunAttempt int + RunNumber int + RunStartedAt string + Status string + URL string + UpdatedAt string + WorkflowID int64