Public | Automated Build

Last pushed: 15 days ago
Short Description
A https://www.dependencies.io actor for updating npm dependencies.
Full Description

actor-js-npm




A dependencies.io
actor for updating package.json dependencies and creating a pull request on GitHub with those changes. Also
updates package-lock.json and yarn.lock files if present.

Usage

dependencies.yml

collectors:
- ...
  actors:
  - type: js-npm
    versions: "L.Y.Y"
    settings:
      # optional contents to put in ~/.npmrc
      npmrc: |
        registry=https://skimdb.npmjs.com/registry

      # github options
      github_labels:  # list of label names
      - bug
      github_assignees:  # list of usernames
      - davegaeddert
      github_milestone: 3  # milestone number
      github_base_branch: develop  # branch to make PR against (if something other than your default branch)

      # gitlab options
      gitlab_assignee_id: 1  # assignee user ID
      gitlab_labels:  # labels for MR as a list of strings
      - dependencies
      - update
      gitlab_milestone_id: 1  # the ID of a milestone
      gitlab_target_project_id: 1  # The target project (numeric id)
      gitlab_remove_source_branch: true  # flag indicating if a merge request should remove the source branch when merging
      gitlab_target_branch: develop  # branch to make PR against (if something other than your default branch)

Works well with

Resources

Support

Any questions or issues with this specific actor should be discussed in GitHub
issues
. If there is
private information which needs to be shared then you can instead use the
dependencies.io support.

Docker Pull Command
Owner
dependencies
Source Repository

Comments (0)