Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/ci-doctor.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion .github/workflows/dev.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion pkg/cli/workflows/test-ai-inference-github-models.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion pkg/cli/workflows/test-claude-add-issue-comment.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion pkg/cli/workflows/test-claude-add-issue-labels.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion pkg/cli/workflows/test-claude-cache-memory.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion pkg/cli/workflows/test-claude-command.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion pkg/cli/workflows/test-claude-create-issue.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion pkg/cli/workflows/test-claude-create-pull-request.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion pkg/cli/workflows/test-claude-mcp.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion pkg/cli/workflows/test-claude-missing-tool.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion pkg/cli/workflows/test-claude-push-to-pr-branch.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion pkg/cli/workflows/test-claude-update-issue.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion pkg/cli/workflows/test-codex-add-issue-comment.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion pkg/cli/workflows/test-codex-add-issue-labels.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion pkg/cli/workflows/test-codex-command.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion pkg/workflow/claude_engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -593,10 +593,13 @@ func (e *ClaudeEngine) renderGitHubClaudeMCPConfig(yaml *strings.Builder, github
yaml.WriteString(" \"--rm\",\n")
yaml.WriteString(" \"-e\",\n")
yaml.WriteString(" \"GITHUB_PERSONAL_ACCESS_TOKEN\",\n")
yaml.WriteString(" \"-e\",\n")
yaml.WriteString(" \"GITHUB_HOST\",\n")
yaml.WriteString(" \"ghcr.io/github/github-mcp-server:" + githubDockerImageVersion + "\"\n")
yaml.WriteString(" ],\n")
yaml.WriteString(" \"env\": {\n")
yaml.WriteString(" \"GITHUB_PERSONAL_ACCESS_TOKEN\": \"${{ secrets.GITHUB_TOKEN }}\"\n")
yaml.WriteString(" \"GITHUB_PERSONAL_ACCESS_TOKEN\": \"${{ secrets.GITHUB_TOKEN }}\",\n")
yaml.WriteString(" \"GITHUB_HOST\": \"${{ env.GITHUB_SERVER_URL }}\"\n")
yaml.WriteString(" }\n")

if isLast {
Expand Down
4 changes: 3 additions & 1 deletion pkg/workflow/codex_engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -452,9 +452,11 @@ func (e *CodexEngine) renderGitHubCodexMCPConfig(yaml *strings.Builder, githubTo
yaml.WriteString(" \"--rm\",\n")
yaml.WriteString(" \"-e\",\n")
yaml.WriteString(" \"GITHUB_PERSONAL_ACCESS_TOKEN\",\n")
yaml.WriteString(" \"-e\",\n")
yaml.WriteString(" \"GITHUB_HOST\",\n")
yaml.WriteString(" \"ghcr.io/github/github-mcp-server:" + githubDockerImageVersion + "\"\n")
yaml.WriteString(" ]\n")
yaml.WriteString(" env = { \"GITHUB_PERSONAL_ACCESS_TOKEN\" = \"${{ secrets.GITHUB_TOKEN }}\" }\n")
yaml.WriteString(" env = { \"GITHUB_PERSONAL_ACCESS_TOKEN\" = \"${{ secrets.GITHUB_TOKEN }}\", \"GITHUB_HOST\" = \"${{ env.GITHUB_SERVER_URL }}\" }\n")
}

// renderPlaywrightCodexMCPConfig generates Playwright MCP server configuration for codex config.toml
Expand Down
4 changes: 3 additions & 1 deletion pkg/workflow/codex_engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,11 @@ func TestCodexEngineRenderMCPConfig(t *testing.T) {
"\"--rm\",",
"\"-e\",",
"\"GITHUB_PERSONAL_ACCESS_TOKEN\",",
"\"-e\",",
"\"GITHUB_HOST\",",
"\"ghcr.io/github/github-mcp-server:sha-09deac4\"",
"]",
"env = { \"GITHUB_PERSONAL_ACCESS_TOKEN\" = \"${{ secrets.GITHUB_TOKEN }}\" }",
"env = { \"GITHUB_PERSONAL_ACCESS_TOKEN\" = \"${{ secrets.GITHUB_TOKEN }}\", \"GITHUB_HOST\" = \"${{ env.GITHUB_SERVER_URL }}\" }",
"EOF",
},
},
Expand Down
5 changes: 4 additions & 1 deletion pkg/workflow/custom_engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,13 @@ func (e *CustomEngine) renderGitHubMCPConfig(yaml *strings.Builder, githubTool a
yaml.WriteString(" \"--rm\",\n")
yaml.WriteString(" \"-e\",\n")
yaml.WriteString(" \"GITHUB_PERSONAL_ACCESS_TOKEN\",\n")
yaml.WriteString(" \"-e\",\n")
yaml.WriteString(" \"GITHUB_HOST\",\n")
yaml.WriteString(" \"ghcr.io/github/github-mcp-server:" + githubDockerImageVersion + "\"\n")
yaml.WriteString(" ],\n")
yaml.WriteString(" \"env\": {\n")
yaml.WriteString(" \"GITHUB_PERSONAL_ACCESS_TOKEN\": \"${{ secrets.GITHUB_TOKEN }}\"\n")
yaml.WriteString(" \"GITHUB_PERSONAL_ACCESS_TOKEN\": \"${{ secrets.GITHUB_TOKEN }}\",\n")
yaml.WriteString(" \"GITHUB_HOST\": \"${{ env.GITHUB_SERVER_URL }}\"\n")
yaml.WriteString(" }\n")

if isLast {
Expand Down
Loading
Loading