google-github-actions / google-github-actions/run-gemini-cli
Add integration tests for GitHub MCP server
Open
@IamRiddhi is already working on this.
Since Dec 8, 2025.
area/quality
area/workflows
github_actions
kind/cicd
kind/enhancement
- Dominant language
- TypeScript
- Stars
- 2.1k
- Forks
- 285
- Avg merge
- 8h 8m
- Merged PRs (30d)
- 1
Description
Description:
The action's ability to interact with GitHub via the Model Context Protocol (MCP) server is a critical and complex feature. We need dedicated integration tests to ensure that the action can correctly connect to the MCP server, use its tools (mcp__github__*), and perform actions against the GitHub API.
Testing Strategy:
- Create a dedicated workflow in a testing repository. This workflow should be triggered by an event like a new issue being created.
- Configure the workflow to use the
run-gemini-cliaction with themcpServersinput pointing to theghcr.io/github/github-mcp-serverimage. - Provide a prompt that requires the use of an MCP tool.
- Add a verification step to the workflow. This step will run after the action and use the standard GitHub API (e.g., via the
ghCLI) to verify that the expected action was performed (e.g., that the comment was actually added to the issue).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.