Skip to content

Commit 2e95d69

Browse files
authored
Merge branch 'main' into zwick-plan-project-v2-views
2 parents 7cfb7ee + 3778a41 commit 2e95d69

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1285,7 +1285,7 @@ The following sets of tools are available:
12851285
- **create_or_update_file** - Create or update file
12861286
- **Required OAuth Scopes**: `repo`
12871287
- `branch`: Branch to create/update the file in (string, required)
1288-
- `content`: Content of the file (string, required)
1288+
- `content`: Content of the file, exactly as it should appear once written. Do not base64-encode it; this server does that before calling the REST API. (string, required)
12891289
- `message`: Commit message (string, required)
12901290
- `owner`: Repository owner (username or organization) (string, required)
12911291
- `path`: Path where to create/update the file (string, required)

pkg/github/__toolsnaps__/create_or_update_file.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"type": "string"
1313
},
1414
"content": {
15-
"description": "Content of the file",
15+
"description": "Content of the file, exactly as it should appear once written. Do not base64-encode it; this server does that before calling the REST API.",
1616
"type": "string"
1717
},
1818
"message": {

pkg/github/repositories.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ SHA MUST be provided for existing file updates.
436436
},
437437
"content": {
438438
Type: "string",
439-
Description: "Content of the file",
439+
Description: "Content of the file, exactly as it should appear once written. Do not base64-encode it; this server does that before calling the REST API.",
440440
},
441441
"message": {
442442
Type: "string",

0 commit comments

Comments
 (0)