@auto-canary/update-repo
TypeScript icon, indicating that this package has built-in type declarations

9.27.3-canary.1151.14970.0 • Public • Published

Update-Repo Plugin

Update github repos with a pull request.

Currently this plugin only works with singular NPM package (i.e no monorepos) updating other singular NPM pacakges. This plugin is built in such a way that it should be easy to add other types of package update (i.e monorepos updating monorepos). If you would like this functionality please file and issue or, better yet, open a pull request!

Installation

This plugin is not included with the auto CLI installed via NPM. To install:

npm i --save-dev @auto-it/update-repo
# or
yarn add -D @auto-it/update-repo

Usage

{
  "plugins": [
    ["update-repo", { "repo": "my/project" }],
    // or multiple repos
    [
      "update-repo",
      [
        { "repo": "my/project" },
        { "repo": "my/other" },
        { "repo": "my/another" }
      ]
    ]
  ]
}

Options

Each repo configuration supports a few additional options not listed above.

targetBranch

The branch to make a PR against.

assignees

People to assign to the opened PR.

labels

Labels to assign to the opened P.

Package Sidebar

Install

npm i @auto-canary/update-repo

Weekly Downloads

2

Version

9.27.3-canary.1151.14970.0

License

MIT

Unpacked Size

17.7 kB

Total Files

7

Last publish

Collaborators

  • hipstersmoothie-canary
  • alisowski