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
This plugin accepts `owner`, `repo`, `path`, `branch` and `message` like `createOrUpdateFile`.
13
+
This plugin accepts `owner`, `repo`, `path`, `branch` and `message` like `.createOrUpdateFile` ([Octokit Docs](https://octokit.github.io/rest.js/#octokit-routes-repos-create-or-update-file)).
14
14
15
-
In addition, it accepts `changes` which is an array of objects containing a `path` and the file `contents`.
15
+
If the `branch` provided does not exist, the plugin will error. To automatically create it, set `createBranch` to true. You may provide a `base` branch if you choose to do this, or the plugin will use the repo's default branch as the base.
16
16
17
-
It also accepts a `newBranch` parameter which will commit these changes to a different branch than the one provided. You can set `overwriteBranch` to `true` to use `branch` as the base commit, or `false` to use the latest commit on `newBranch` as the base commit.
17
+
In addition, it accepts `changes`which is an array of objects containing a `path` and the file `contents`.
0 commit comments