Repository navigation
Add Gemini coding agent workflow - #9
Merged
Merged
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
Three moderate issues remain in the workflow definition: missing ai-generated label support, missing Python/PyPI network access, and unrestricted PR file scope.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Adds a Gemini Agentic Workflow that turns authorized GitHub issues into tested pull requests.
Changes:
- Adds Gemini workflow instructions and compiled implementation.
- Adds safe outputs, threat detection, and pinned dependencies.
- Adds routing, log-ignore, lock, and generated-file metadata.
File summaries
| File | Summary | Review |
|---|---|---|
.github/workflows/gemini-coding-agent.md |
Gemini workflow definition | Three moderate issues remain involving label availability, Python/PyPI network access, and unrestricted PR file scope. |
.github/workflows/gemini-coding-agent.lock.yml |
Compiled workflow | No specific findings reported. |
.github/skills/agentic-workflows/SKILL.md |
Agentic workflow routing skill | No specific findings reported. |
.github/aw/logs/.gitignore |
Ignores downloaded logs | No specific findings reported. |
.github/aw/actions-lock.json |
Pins the setup action | No specific findings reported. |
.gitattributes |
Marks generated workflows | No specific findings reported. |
Review details
Suppressed comments (2)
.github/workflows/gemini-coding-agent.md:13
- Because this repository's tests import
numpyandsoundfileand CI installs them fromrequirements.txt, the agent needs PyPI access when it follows the instruction to run tests.network: defaultsexcludes the Python/PyPI ecosystem, so installs from inside the agent sandbox will be blocked and the workflow cannot reliably produce the promised tested PR. Addpythonto the network allowlist and recompile the lock file.
network: defaults
.github/workflows/gemini-coding-agent.md:18
create-pull-requestis enabled without anallowed-filesrestriction. The generated safe-output handler therefore permits patches to any non-protected path, so an issue/prompt injection can make the agent propose unrelated repository changes. gh-aw's safe-output guidance requires explicit path scoping for pull-request/branch mutations; add an allowlist appropriate to this repository before enabling this workflow.
create-pull-request:
max: 1
labels: [ai-generated]
- Files reviewed: 5/6 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| safe-outputs: | ||
| create-pull-request: | ||
| max: 1 | ||
| labels: [ai-generated] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the Gemini Agentic Workflow configuration for automated issue-to-PR development.