-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
I enabled Dependabot for a fork (https://github.com/hugovk/pytest), to make sure it was working smoothly before creating a PR to add it upstream (https://github.com/pytest-dev/pytest). Upstream is now using it, it's working well, thanks!
However, I now want to disable Dependabot for my fork but cannot find a way.
You've successfully migrated pytest to GitHub 🎉
At https://github.com/settings/installations/8631454, Dependabot Preview only has access to other repos:
At https://github.com/hugovk/pytest/settings/security_analysis I have everything disabled:
Deleting https://github.com/hugovk/pytest/blob/master/.github/dependabot.yml is not an option, because this is a fork, and it needs to be kept in sync with upstream.
How can I disable Dependabot for my fork?
Package manager/ecosystem
Python
Manifest contents prior to update
version: 2
updates:
- package-ecosystem: pip
directory: "/testing/plugins_integration"
schedule:
interval: weekly
time: "03:00"
open-pull-requests-limit: 10
allow:
- dependency-type: direct
- dependency-type: indirecthttps://github.com/hugovk/pytest/blob/master/.github/dependabot.yml
https://github.com/hugovk/pytest/blob/master/testing/plugins_integration/requirements.txt
Edit: as the 2022-11-24 solution is obscured by the thousands of hidden items below, here it is for clarity:
Hmm... from when we shipped this on November 7th going forward, no repos should be default opted-in.
One exception is any repo, fork-or-no-fork will be automatically opted in if you've selected the
Automatically enable for new repositoriesoption in your user or org settings. But that's essentially inheriting a manual opt-in.Forks that were created before November 7th will require manual disabling... we considered disabling them, but couldn't easily distinguish between those who did/didn't manually enable it from the beginning, so it was safer/more predictable for users if we left them untouched.
To disable, as @hugovk mentions above you need to either delete/re-create the fork, or click Disable on the forked repo's
/settings/security_analysispage:![]()
For PR's that were already sitting open when you disable Dependabot, I think nothing further happens to them unless you do it. They won't get auto-rebased or auto-closed.



