MCPcopy Create free account
hub / github.com/github/gh-aw / GetSecretValidationStep

Method GetSecretValidationStep

pkg/workflow/gemini_engine.go:83–90  ·  view source on GitHub ↗

GetSecretValidationStep returns the secret validation step for the Gemini engine. Returns an empty step if custom command is specified.

(workflowData *WorkflowData)

Source from the content-addressed store, hash-verified

81// GetSecretValidationStep returns the secret validation step for the Gemini engine.
82// Returns an empty step if custom command is specified.
83func (e *GeminiEngine) GetSecretValidationStep(workflowData *WorkflowData) GitHubActionStep {
84 return BuildDefaultSecretValidationStep(
85 workflowData,
86 []string{"GEMINI_API_KEY"},
87 "Gemini CLI",
88 "https://geminicli.com/docs/get-started/authentication/",
89 )
90}
91
92func (e *GeminiEngine) GetInstallationSteps(workflowData *WorkflowData) []GitHubActionStep {
93 geminiLog.Printf("Generating installation steps for Gemini engine: workflow=%s", workflowData.Name)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected