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

Fix json syntax error to enable Renovate bot #8506

Merged
merged 1 commit into from Jul 29, 2022
Merged

Conversation

xtremerui
Copy link
Contributor

Error log taken from Renovate Dashboard. This causes the bot not creating dependency bumping PRs since it was onboarded into our repo.

DEBUG: Found .github/renovate.json config file
INFO: Repository has invalid config
{
  "error": {
    "validationSource": ".github/renovate.json",
    "validationError": "Invalid JSON (parsing failed)",
    "validationMessage": "Syntax error: expecting end of expression or separator near      \"grou",
    "message": "config-validation",
    "stack": "Error: config-validation\n    at checkForRepoConfigError (/home/ubuntu/renovateapp/node_modules/renovate/dist/workers/repository/init/merge.js:147:19)\n    at mergeRenovateConfig (/home/ubuntu/renovateapp/node_modules/renovate/dist/workers/repository/init/merge.js:169:5)\n    at async getRepoConfig (/home/ubuntu/renovateapp/node_modules/renovate/dist/workers/repository/init/config.js:15:14)\n    at async initRepo (/home/ubuntu/renovateapp/node_modules/renovate/dist/workers/repository/init/index.js:32:14)\n    at async Object.renovateRepository (/home/ubuntu/renovateapp/node_modules/renovate/dist/workers/repository/index.js:37:18)\n    at async renovateRepository (/home/ubuntu/renovateapp/app/worker/index.js:267:26)\n    at async /home/ubuntu/renovateapp/app/worker/index.js:527:5"
  }
}

Signed-off-by: Rui Yang <ruiya@vmware.com>
@xtremerui xtremerui added the misc label Jul 29, 2022
@xtremerui xtremerui requested a review from a team as a code owner July 29, 2022 16:12
@xtremerui xtremerui changed the title fix json syntax error to enable Renovate bot Fix json syntax error to enable Renovate bot Jul 29, 2022
@syslxg syslxg merged commit 84522db into master Jul 29, 2022
@syslxg syslxg deleted the fix-renovate-config branch July 29, 2022 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants