github

package
v0.3.21-beta Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package github provides GitHub Actions workflow templates and utilities for generating and rendering GitHub workflow files. It includes embedded template files and functions for creating background agent workflows with customizable parameters.

Index

Constants

View Source
const (
	// BackgroundAgentWorkflowTemplate is the path to the background agent workflow
	// template file used for generating GitHub Actions workflows for autonomous
	// conversation handling.
	BackgroundAgentWorkflowTemplate = "templates/background_agent_workflow.yaml.tmpl"
)

Variables

View Source
var TemplateFS embed.FS

TemplateFS embeds the template files from the templates directory

Functions

func RenderBackgroundAgentWorkflow

func RenderBackgroundAgentWorkflow(data WorkflowTemplateData) (string, error)

RenderBackgroundAgentWorkflow renders the background agent workflow template

Types

type WorkflowTemplateData

type WorkflowTemplateData struct {
	AuthGatewayEndpoint string
}

WorkflowTemplateData holds the data for workflow template rendering

Jump to

Keyboard shortcuts

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