-
Notifications
You must be signed in to change notification settings - Fork 73
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
Use default empty configuration instead of configuration file default location #6
Comments
Hi @Djiit , Thanks for raising an issue. I've gone through renovatebot/renovate#5881 and have a few followup questions to understand your problem better.
|
Hi @jdbruijn , Thanks for your quick answer :).
You can find an example here :
More context: I have been doing this for a couple months now (https://dev.to/djiit/keep-your-dependencies-up-to-date-with-renovate-and-github-actions-3b2m), but it suddently stopped working and complaining about artifacts upload problems a few weeks ago. |
Cool, thanks for sharing those setups! We could make the Just out of curiosity, is there any specific reason you use self-hosted Renovate instead of e.g. the Renovate GitHub App? Doesn't look like you're doing anything specific in your setup that requires a self-hosted instance. |
Awesome ! We've been using Renovate at work using our own instance so you we could self-host it and have more control over it than the GitHub app (and using it for private and Publix repos). So when I started using it on my side project, I think I just replicated the self-hosted scheme. What would be the difference for me actually? Thanks again for taking this time to discuss 🙏 |
For your personal repos at least, the main difference would be that using the Renovate GitHub App will be more responsive as you're not stuck to a schedule. Especially when you run it only once a week, using the app will allow you to quickly rebase the created PR's and update the active PR's when new versions become available and the PR is not (yet) merged. One downside used to be that the app couldn't update GitHub Actions workflows, but 2 days ago GitHub added that to the app permissions, so either it is already possible to use the app to update workflows or it could be soon (don't quote me on that, as I haven't tested it or confirmed it). |
Github action updates are not possible, because git push access is denied for apps, even with new permissions |
@viceice Thanks for pointing that out! I had no idea as the GitHub post is not elaborate at all, but hints that the new permissions enables apps to edit the workflows. What then is the whole point of the new permission?
|
Maybe this allows only updating via github api. I've tested it and git push fails 😢 |
Okay too bad, would have been nice! Thanks for testing it though. |
Hi @Djiit, I was just testing this and found only using the |
Okay, so @Djiit you can run this with only the These are the two important configurations that allows you to only use the one configuration file. You do however not get the onboarding PR, but when you're familiar with the process I personally think that shouldn't be an problem. onboarding: false,
requireConfig: false, Could you please let me know if this solution works for you? If so, I can update the documentation to reflect this setup and configuration requirements for this setup. |
Hey, Yeah I don't need the onboarding PR :). I've tested this in an Action just now and it seems to be fined. My schedule action will run tomorrow at 10am Paris time. If everything goes well, it will be good :) |
Working like a charm wikiwarsgg/soundboard#6 :) |
May I suggest we use |
Awesome! I'll add a note about this kind of setup to the readme to close this issue. |
Following renovatebot/renovate#5881,
When a user doesn't pass the configurationFile attribute, it should use an enmpty configuration and rely only on the
renovate.json
configuration.Avoiding two files configuration :)
The text was updated successfully, but these errors were encountered: