-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add a configuration boolean switch "enabled" to enable or disable the current dependabot actions for one repository #7072
Comments
Adding a way to enable/disable Dependabot version updates w/o having to completely remove the config file is a reasonable feature request. A few thoughts:
TBH, I'm not sure we'll ever ship this because it's a relatively uncommon feature request, and the workaround of commenting/uncommenting code seems straightforward. But we can leave it open for a while and monitor the 👍 to see how much user demand there is for this. |
I do not believe that this is correct as I am able to see it in Github.com under my profile When disabled from that settings page, it then asks the user to enable it from the insights page |
LOL! Now I'm the one going back and forth with you trying to figure this out. 😁 @yeikel You're right, what's actually happening in your screenshot is this is a fork!! 🎉 See the screenshot here: I think there's also a GHES related feature at the org level, although I don't have a GHES instance available right now for me to test. I edited my post above to reflect this. |
That makes sense, and I can confirm it. When the repo is not a fork it just shows "configure" Maybe this should be available for all repos even if they are not forks? Sorry for the confusion. I was not aware of this distinction |
Thank you @yeikel and @jeffwidman for your long time to follow this issue, AFAIK:
Why not make them "sync"? I mean you can both set "enabled" or "disabled" through either file or UI.
If for this case, is there any files' setting for the organization? If we have it, you can also add "enable"/"disable" for us to set both in files or UI's settings. |
Thank you, in fact I this won'be so difficult:) |
A teammate pointed out that you can also disable version updates via the config file setting That won't disable security updates, but security updates can already be enabled/disabled from within the UI. I expect this is probably all that we'd ship given that it works and there's not much demand for this so we're unlikely to invest further effort in adding a new config, so I'd like to close... will this workaround suffice for you @MaledongGit? |
OK, since we have this settings, I closed it :) |
Is there an existing issue for this?
Feature description
Refs: dependabot/feedback#216
From the previous discussion (sorry I didn't find related issues in the current issue list). We know that we can only disable dependabot for all repositories, it would be better if we can add a boolean switch through which we can decide whether the current config file can be "applied" or not for the dependabot actions. Something like this following (Take "enabled" as a switch example, if you miss writing it, the default means "true"):
Ignore me if there're such related issues or has been fixed anyway....Without such settings, we have to remove the file and re-add it later.
The text was updated successfully, but these errors were encountered: