GetSecretValidationStep returns the secret validation step for the Codex engine. Returns an empty step if custom command is specified.
(workflowData *WorkflowData)
| 98 | // GetSecretValidationStep returns the secret validation step for the Codex engine. |
| 99 | // Returns an empty step if custom command is specified. |
| 100 | func (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 | |
| 109 | func (e *CodexEngine) GetInstallationSteps(workflowData *WorkflowData) []GitHubActionStep { |
| 110 | codexEngineLog.Printf("Generating installation steps for Codex engine: workflow=%s", workflowData.Name) |