Skip to content

Commit 01b690f

Browse files
committed
feat: add author and committer information to commit creation
1 parent b2e399d commit 01b690f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/storage/repo/repo-client.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,14 @@ export class RepoStorageBackend implements StorageBackend {
394394
message,
395395
tree: treeSha,
396396
parents: [parentSha],
397+
author: {
398+
name: 'OpenCode Sync',
399+
email: 'github-actions[bot]@users.noreply.github.com',
400+
},
401+
committer: {
402+
name: 'OpenCode Sync',
403+
email: 'github-actions[bot]@users.noreply.github.com',
404+
},
397405
});
398406

399407
const res = await this.fetch('/git/commits', { method: 'POST', body });

0 commit comments

Comments
 (0)