Skip to content

Conversation

@2sem
Copy link
Owner

@2sem 2sem commented Jan 16, 2026

Issue

workflow error

Where

.github/workflows/gemini-dispatch.yml

Error

Invalid workflow file: .github/workflows/gemini-dispatch.yml#L110 error parsing called workflow ".github/workflows/gemini-dispatch.yml" -> "./.github/workflows/gemini-review.yml" : failed to fetch workflow: workflow was not found.

@github-actions
Copy link

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

@claude
Copy link

claude bot commented Jan 16, 2026

Pull Request Review

Summary

This PR fixes a critical workflow error where the workflow reference was pointing to a non-existent file. The fix correctly updates the reference from gemini-review.yml to gemini-code-review.yml.


✅ Positive Aspects

  1. Correct Fix: The change properly resolves the workflow error mentioned in the PR description
  2. Minimal Change: The fix is surgical and only changes what's necessary
  3. Clear Purpose: The PR title and description clearly explain the issue and solution

Code Quality & Best Practices

Good: The fix is straightforward and addresses the exact issue

  • Line 110 correctly references the existing .github/workflows/gemini-code-review.yml file
  • No other occurrences of the old filename exist in the workflows directory

Potential Issues

No issues found. The change is correct and complete.


Performance Considerations

N/A - This is a configuration fix with no performance impact.


Security Concerns

No security concerns. The workflow file being referenced has proper permission scoping:

  • gemini-code-review.yml:23-27 defines appropriate permissions
  • The workflow uses proper authentication via GitHub App tokens or GITHUB_TOKEN

Test Coverage

Recommendation: After merging, verify that:

  1. The workflow runs successfully when a PR is opened
  2. The @gemini-cli /review command works as expected in PR comments
  3. The workflow reference resolves correctly (you can test this by triggering the workflow)

The fix itself doesn't require unit tests as it's a YAML configuration change.


Additional Notes

The workflow architecture looks solid:

  • Proper use of workflow_call for reusable workflows
  • Good permission scoping
  • Appropriate concurrency controls in gemini-code-review.yml:11-13

Recommendation

Approved - This PR is ready to merge. It fixes the workflow error and makes no other changes.

Copy link

@github-actions github-actions 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

The Pull Request correctly fixes a broken workflow reference in the Gemini dispatch workflow. By updating the reference to point to the existing gemini-code-review.yml file, it resolves a "workflow was not found" error that was blocking automated code reviews.

🔍 General Feedback

  • The change accurately addresses the issue described in the PR body.
  • Verified that the target workflow file (.github/workflows/gemini-code-review.yml) exists in the repository.
  • The fix is minimal and targeted, adhering to best practices for bug fixes.

@2sem 2sem merged commit d819367 into master Jan 16, 2026
5 checks passed
@2sem 2sem deleted the fix-gemini-code-review-workflow-name branch January 16, 2026 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants