Skip to content

github integration fails #16515

@wighawag

Description

@wighawag

Description

I followed the doc to setup github workflows (https://opencode.ai/docs/github/)

and also tested with the token as mentioned here fixed in #9120

but I get

Pushing to new branch...
Author identity unknown
*** Please tell me who you are.
Run
  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: empty ident name (for <runner@runnervm0kj6c.2vk1hzk5occetmhudv1e2gzmqb.cx.internal.cloudapp.net>) not allowed
Failed with exit code 128
Creating comment...
Removing reaction...
Error: Author identity unknown

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident name (for <runner@runnervm0kj6c.2vk1hzk5occetmhudv1e2gzmqb.cx.internal.cloudapp.net>) not allowed

Error: Process completed with exit code 1.

and if I set the email and name manually I get

Pushing to new branch...
fatal: could not read Username for 'https://github.com/': No such device or address
Failed with exit code 128
Creating comment...
Removing reaction...
Error: fatal: could not read Username for 'https://github.com/': No such device or address

Error: Process completed with exit code 1.

Plugins

None

OpenCode version

1.2.21

Steps to reproduce

  • setup a repo
  • follow the instruction here https://opencode.ai/docs/github/
  • opencode github install
  • set secret for provider selected
  • create an issue
  • comment on it with /oc implement this

I created a repo to test it too :https://github.com/wighawag/opencode-github-integration

see issue : wighawag/opencode-github-integration#1

and the actions errors : https://github.com/wighawag/opencode-github-integration/actions

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Metadata

Metadata

Assignees

Labels

acpbugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions