Guithub agent doesn't commit changes specifically on pull request comments #2738

Closed
opened 2026-02-16 17:37:01 -05:00 by yindo · 3 comments
Owner

Originally created by @danzilberdan on GitHub (Nov 9, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

Everything works fine in terms of being able to comment on issues and to get results back including summarization, but specifically when commenting on pull requests the agent will run and also will respond with the changes that have been made but it will not actually commit any of them to the branch.

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @danzilberdan on GitHub (Nov 9, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description Everything works fine in terms of being able to comment on issues and to get results back including summarization, but specifically when commenting on pull requests the agent will run and also will respond with the changes that have been made but it will not actually commit any of them to the branch. ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bug label 2026-02-16 17:37:01 -05:00
yindo closed this issue 2026-02-16 17:37:01 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 9, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #3893: [Github agent] If the agent commits but doesn't push, the resulting commits are never pushed - This issue describes the exact same problem where the GitHub agent commits changes but fails to push them when working on pull requests
  • #4098: Opencode Github Integration says it's created a PR, but it hasn't - Similar issue where GitHub integration claims to have completed actions (like creating PRs) but doesn't actually perform them, likely due to the same branchIsDirty() check issue
  • #1417: GitHub Integration is not pushing changes in PRs - Another report of the same core issue where changes are committed but not pushed in PR contexts

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Nov 9, 2025): This issue might be a duplicate of existing issues. Please check: - #3893: [Github agent] If the agent commits but doesn't push, the resulting commits are never pushed - This issue describes the exact same problem where the GitHub agent commits changes but fails to push them when working on pull requests - #4098: Opencode Github Integration says it's created a PR, but it hasn't - Similar issue where GitHub integration claims to have completed actions (like creating PRs) but doesn't actually perform them, likely due to the same branchIsDirty() check issue - #1417: GitHub Integration is not pushing changes in PRs - Another report of the same core issue where changes are committed but not pushed in PR contexts Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Nov 9, 2025):

ill check it out

@rekram1-node commented on GitHub (Nov 9, 2025): ill check it out
Author
Owner

@rekram1-node commented on GitHub (Nov 12, 2025):

hm this can still happen in some cases, gonna fix tho

@rekram1-node commented on GitHub (Nov 12, 2025): hm this can still happen in some cases, gonna fix tho
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2738