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

Method GetSecretValidationStep

pkg/workflow/codex_engine.go:100–107  ·  view source on GitHub ↗

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

(workflowData *WorkflowData)

Source from the content-addressed store, hash-verified

98// GetSecretValidationStep returns the secret validation step for the Codex engine.
99// Returns an empty step if custom command is specified.
100func (e *CodexEngine) GetSecretValidationStep(workflowData *WorkflowData) GitHubActionStep {
101 return BuildDefaultSecretValidationStep(
102 workflowData,
103 []string{"CODEX_API_KEY", "OPENAI_API_KEY"},
104 "Codex",
105 "https://github.github.com/gh-aw/reference/engines/#openai-codex",
106 )
107}
108
109func (e *CodexEngine) GetInstallationSteps(workflowData *WorkflowData) []GitHubActionStep {
110 codexEngineLog.Printf("Generating installation steps for Codex engine: workflow=%s", workflowData.Name)

Callers 1

Calls 1

Tested by 1