You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently all files are uploaded to the default branch, as that is what the GitHub API uses by default. I want to pass in a parameter indicating the branch name to use for uploading the file.
As a requirement I'd say that the branch already has to exist. Creating it is not necessary for me.
Changes needed
Add an optional parameter to the action to specify the branch name
Add the extra parameter to the PUT call in upload.js, see documentation
I'd say create the branch if it doesn't exist yet. Currently the upload just fails with a non-descriptive error. Will see if I can add that as well, maybe tomorrow.
Currently all files are uploaded to the default branch, as that is what the GitHub API uses by default. I want to pass in a parameter indicating the branch name to use for uploading the file.
As a requirement I'd say that the branch already has to exist. Creating it is not necessary for me.
Changes needed
github-upload-action/upload.js
Lines 49 to 54 in 20142a0
I'd be happy to help working on this :-)
The text was updated successfully, but these errors were encountered: