Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jerop
Copy link
Contributor

@jerop jerop commented Sep 5, 2025

The gemini-dispatch.yml workflow is designed to call other workflows like gemini-review.yml, gemini-triage.yml, and gemini-invoke.yml.

When a user manually sets up only one of these workflows (e.g., only for PR reviews), they might not have the other workflow files present in their repository. This can lead to errors when the dispatch workflow tries to call a non-existent workflow.

This change adds a note to the setup instructions for each of the main workflows (pr-review, issue-triage, gemini-assistant) advising users to comment out the unused jobs in their copy of gemini-dispatch.yml.

This prevents errors and makes the manual setup process more robust.

Fixes #256

@jerop jerop requested review from a team as code owners September 5, 2025 22:23
@gemini-cli
Copy link

gemini-cli bot commented Sep 5, 2025

🤖 Hi @jerop, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

Copy link

@gemini-cli gemini-cli bot left a comment

Choose a reason for hiding this comment

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

📋 Review Summary

This pull request adds a helpful note to the documentation for manually setting up workflows, which will prevent users from encountering errors. The core idea is solid, but the implementation has a copy-paste error in two of the files.

🔍 General Feedback

  • The added note in gemini-assistant/README.md and issue-triage/README.md incorrectly refers to "PR Review". I have left specific suggestions to correct this.
  • The change in pr-review/README.md is correct.

The `gemini-dispatch.yml` workflow is designed to call other workflows
like `gemini-review.yml`, `gemini-triage.yml`, and `gemini-invoke.yml`.

When a user manually sets up only one of these workflows (e.g., only
for PR reviews), they might not have the other workflow files present
in their repository. This can lead to errors when the dispatch
workflow tries to call a non-existent workflow.

This change adds a note to the setup instructions for each of the main
workflows (`pr-review`, `issue-triage`, `gemini-assistant`) advising
users to comment out the unused jobs in their copy of
`gemini-dispatch.yml`.

This prevents errors and makes the manual setup process more robust.

Fixes #256
@jerop jerop force-pushed the fix/256-dispatch-workflow-docs branch from a6ba1bf to ce918c7 Compare September 5, 2025 22:27
@jerop
Copy link
Contributor Author

jerop commented Sep 5, 2025

@gemini-cli /review

@gemini-cli
Copy link

gemini-cli bot commented Sep 5, 2025

🤖 Hi @jerop, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

@jerop jerop requested a review from leehagoodjames September 5, 2025 22:29
Copy link

@gemini-cli gemini-cli bot left a comment

Choose a reason for hiding this comment

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

📋 Review Summary

This pull request improves the documentation for manually setting up workflows by adding a note to comment out unused jobs in gemini-dispatch.yml. This is a good improvement that will help users avoid errors.

🔍 General Feedback

  • The change is applied consistently across all three relevant README files.
  • The added note is helpful and addresses a potential point of confusion for users.

@jerop jerop enabled auto-merge (squash) September 8, 2025 14:35
@jerop jerop merged commit 3249628 into main Sep 8, 2025
37 checks passed
@jerop jerop deleted the fix/256-dispatch-workflow-docs branch September 8, 2025 16:13
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.

pr-review workflow has incorrect README Dependencies section

3 participants