FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Use createCommitOnBranch for file write tools by bongsu-rapportlabs · Pull Request #2772 · github/github-mcp-server · GitHub

Use createCommitOnBranch for file write tools - #2772

Open
bongsu-rapportlabs wants to merge 1 commit into
github:mainfrom
bongsu-rapportlabs:codex/create-commit-on-branch
Open

Use createCommitOnBranch for file write tools#2772
bongsu-rapportlabs wants to merge 1 commit into
github:mainfrom
bongsu-rapportlabs:codex/create-commit-on-branch

Conversation

Copy link
Copy Markdown

Summary

  • Use GraphQL createCommitOnBranch for create_or_update_file and push_files commits.
  • Keep existing SHA validation and tool inputs, and preserve the create_or_update_file response by fetching the updated file metadata after the commit.
  • Remove the now-unused REST contents response converter.

Closes #2771.

Testing

  • mise exec go@1.25.0 -- ./script/lint
  • mise exec go@1.25.0 -- go test ./... -count=1

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

Use GitHub-signed commits for repository file write tools

2 participants


Back | FazBrowse Home | New Git URL