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
Click to show internal directories.
Click to hide internal directories.