-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
Status: Up for grabsIssues that are ready to be worked on by anyoneIssues that are ready to be worked on by anyoneType: FeatureNew feature or requestNew feature or request
Description
Describe the need
Right now if you want to use octokit to upload a bunch of text files, you either have to run one commit for each file using this plugin, or you need to play the insane "create blobs and paralllel paths, then a tree, then a commit, then update refs" REST API game. It would be so nice if this plugin had something normal for multiple text files as well as single text files, like
octokit.createOrUpdateTextFiles({ // note the plural
owner,
repo,
branch,
files: [
{ path: ... , content: ... },
{ path: ... , content: ... },
{ path: ... , content: ... },
]
);
SDK Version
No response
API Version
No response
Relevant log output
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
Status: Up for grabsIssues that are ready to be worked on by anyoneIssues that are ready to be worked on by anyoneType: FeatureNew feature or requestNew feature or request
Type
Projects
Status
🔥 Backlog