-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
renovate-config-validator reports "INFO: Config validated successfully" when no config exists #16025
Comments
i believe re-creating the on-boarding PR could be problematic on the app side with the same repository name cause of cache , maybe just add the |
Hi, I installed Renovate Bot app in github.com and gave permissions to one repo. RB created the on-boarding PR. Beside that I had another PR, which already updated some of the dependencies, RB would like to update as well. Here I read that I should rename the onboarding PR from "Configure Renovate" to "Configure Renovate - old" and wait that RB creates a new one. I did, but RB did not created a new one, so I keep searching and found these instructions https://docs.renovatebot.com/getting-started/installing-onboarding/#reconfigure-via-pr. I installed RB globally via NPM and executed TLDR: The CLI app |
Hi there, Get your issue fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. To get started, please read our guide on creating a minimal reproduction. We may close the issue if you, or someone else, haven't created a minimal reproduction within two weeks. If you need more time, or are stuck, please ask for help or more time in a comment. Good luck, The Renovate team |
i believe you should have this parameter, and thats where the config is found, |
C:\tests\renovateTutorial>renovate-config-validator |
So the question is: if no config file is found, then should we exit successfully or unsuccessfully? |
@rarkins |
Maybe you could add an additional info, that the current path does not contain a configuration file. |
we might just need to add file.ts -> line 70
|
I think it will always be true if there's no config |
Resolution: fail if no config file found at all |
I'm re-opening this issue because we reverted the PR that closed this issue:
|
I think it should only fail if the strict flag is used |
How are you running Renovate?
Mend Renovate hosted app on github.com
If you're self-hosting Renovate, tell us what version of Renovate you run.
32.83.2
Please select which platform you are using if self-hosting.
No response
If you're self-hosting Renovate, tell us what version of the platform you run.
No response
Was this something which used to work for you, and then stopped?
I never saw this working
Describe the bug
I wanted to recreate the on-boarding PR on Gitlab via PR. I did not merge the first onboarding PR, so I do not have any renovate related config file and since its a JAVA project, no
package.json
. But when I runrenovate-config-validator
it reports:I expected either it tells me that there is no config file and/or offers to create one with basic settings.
Relevant debug logs
No response
Have you created a minimal reproduction repository?
No reproduction repository
The text was updated successfully, but these errors were encountered: