Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Greenkeeper configuration file #615

Closed
greenkeeper bot opened this issue Dec 5, 2018 · 0 comments
Closed

Invalid Greenkeeper configuration file #615

greenkeeper bot opened this issue Dec 5, 2018 · 0 comments

Comments

@greenkeeper
Copy link
Contributor

greenkeeper bot commented Dec 5, 2018

We have detected a problem with your Greenkeeper config file 🚨

Greenkeeper currently can’t work with your greenkeeper.json config file because it is invalid. We found the following issues:

  1. The root-level key branchPrefix is invalid. If you meant to add a group named branchPrefix, please put it in a root-level groups object. Valid root-level keys are groups and ignore.
  2. The root-level key commitMessages is invalid. If you meant to add a group named commitMessages, please put it in a root-level groups object. Valid root-level keys are groups and ignore.

Please correct these and commit the fix to your default branch (usually master). Greenkeeper will pick up your changes and try again. If in doubt, please consult the config documentation.

Here’s an example of a valid greenkeeper.json:

{
  "groups": {
    "frontend": {
      "packages": [
        "webapp/package.json",
        "cms/package.json",
        "analytics/package.json"
      ]
    },
    "build": {
      "packages": [
        "package.json"
      ]
    }
  },
  "ignore": [
    "standard",
    "eslint"
  ]
}

This files tells Greenkeeper to handle all dependency updates in two groups. All files in the frontend group will receive updates together, in one issue or PR, and the root-level package.json in the build group will be treated separately. In addition, Greenkeeper will never send updates for the standard and eslint packages.

🤖 🌴

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant