Skip to content

Conversation

@leehagoodjames
Copy link
Contributor

@leehagoodjames leehagoodjames commented Aug 15, 2025

TL;DR

Add workflow for @gemini-cli /fix to fix a GitHub Issue

Design

This workflow seeks to take similar approaches to other workflows, such as gemini-cli.yml or gemini-pr-review.yml, but differs primarily in its prompt. The differences aim to enhance the reliability/performance of the workflow by consistently adopting XML tags, removing newline characters that are used solely for breaking up long lines in IDEs, and placing a greater emphasis on providing examples that use least-to-most prompting.

Testing

GitHub actions are difficult to test before they are in main, as the workflow does not exist at https://github.com/google-github-actions/run-gemini-cli/actions to invoke. Therefore, this change only adds the workflow internally for evaluation/iteration to enable testing, and when it is provably useful it can be added to the externally facing workflows in /examples/workflows/.

@leehagoodjames leehagoodjames requested review from a team as code owners August 15, 2025 21:42
@leehagoodjames leehagoodjames force-pushed the add_fix_workflow branch 10 times, most recently from 25c9af0 to 4a98722 Compare August 18, 2025 21:08
Copy link
Contributor

@jerop jerop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you plan to add this to examples/workflows, with documentation, in future work?

read description again and saw this is in the plan

@leehagoodjames leehagoodjames force-pushed the add_fix_workflow branch 2 times, most recently from 5aef154 to 5e9d667 Compare August 19, 2025 21:11
@leehagoodjames leehagoodjames requested a review from jerop August 19, 2025 21:19
@leehagoodjames leehagoodjames force-pushed the add_fix_workflow branch 2 times, most recently from ff6dfda to 07e2493 Compare August 26, 2025 17:32
@leehagoodjames
Copy link
Contributor Author

@leehagoodjames please rebase and refactor to use dispatch pattern

Done

Copy link
Contributor

@jerop jerop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking forward to trying this out!

cc @sethvargo

@leehagoodjames leehagoodjames force-pushed the add_fix_workflow branch 2 times, most recently from 1194272 to 31e6219 Compare August 27, 2025 00:38
@leehagoodjames leehagoodjames requested a review from jerop August 27, 2025 00:39
@leehagoodjames leehagoodjames force-pushed the add_fix_workflow branch 4 times, most recently from 5dd23ca to 270387b Compare August 28, 2025 00:25
@leehagoodjames leehagoodjames force-pushed the add_fix_workflow branch 2 times, most recently from 947fca7 to e39fe51 Compare August 28, 2025 14:45
@leehagoodjames leehagoodjames merged commit 6840824 into google-github-actions:main Aug 29, 2025
35 checks passed
google-github-actions-bot added a commit that referenced this pull request Oct 9, 2025
## What's Changed
* chore: script to generate examples by @leehagoodjames in
#244
* chore: update readme to state user must copy gemini-dispatch.yml by
@leehagoodjames in
#249
* Relax node requirement and bump actions-utils by @sethvargo in
#253
* feat: support /fix slash command and workflow by @leehagoodjames in
#190
* feat(docs): improve manual setup instructions for workflows by @jerop
in #263
* feat: improve action input descriptions by @jerop in
#264
* fix: enforce COMMENT event type for submit_pending_pull_request_review
by @jerop in
#271
* docs: add fork support documentation for PR review workflow by @jerop
in #268
* feat(action): add support for preview and nightly versions by @jerop
in #281
* feat(workflows): add gemini_cli_version to all workflows by @jerop in
#279
* feat: migrate to new Gemini CLI configuration format by @jerop in
#284
* feat: clean up temp fix for empty API key by @jerop in
#285
* Sort inputs alphabetically in action.yml by @jerop in
#286
* chore: organize workflow inputs alphabetically and add missing
parameters by @jerop in
#288
* feat: add auth input validation by @jerop in
#289
* fix(action): correct quoting in workflow expressions by @jerop in
#293
* fix(validation): improve validation error messages by @jerop in
#297
* fix(validate-inputs): surface errors in logs, annotation, and step
summary by @jerop in
#299
* feat(validate-inputs): downgrade validation failures to warnings by
@jerop in
#300
* fix(validate-inputs): use env-based bash shebang for portability by
@jerop in
#303
* feat: simplify input validation logic by @jerop in
#304
* fix(action): correct input validation script behavior by @jerop in
#309
* feat: add command substitution security warning by @jerop in
#306
* fix(triage): correct duplicate step numbering in workflow by @aladh in
#331
* feat: Optionally install extensions by @CallumHYoung in
#329
* docs(extensions): add documentation for extensions by @jerop in
#340
* chore(workflows): Apply formatting and fix example prompt by @jerop in
#339
* refactor(workflows): improve prompts to use env vars directly by
@jerop in
#342
* fix(review): Remove --source argument to match CLI 8.0 release by
@CallumHYoung in
#347

## New Contributors
* @aladh made their first contribution in
#331
* @CallumHYoung made their first contribution in
#329

**Full Changelog**:
v0.1.12...v0.1.13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants