appgithub

package
v0.11.13 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitHubWorkflowTask

func GitHubWorkflowTask(taskContext taskcommon.TaskContext) error

GitHubWorkflowTask generates a project-specific GitHub workflow file and creates a pull request

Links of interest: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md?plain=1 for runner preinstalled software

Types

type RenderWorkflowResult

type RenderWorkflowResult struct {
	Plan            plangenerate.Plan
	WorkflowContent string
}

type WorkflowPermission added in v0.11.12

type WorkflowPermission struct {
	Name   string // Scope name, e.g. "contents"
	Level  string // Access level, e.g. "read" or "write"
	Reason string // Comment explaining why the scope is required
}

WorkflowPermission is a single GITHUB_TOKEN scope rendered for a job.

Jump to

Keyboard shortcuts

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