Cannot un-ignore Dependabot ignore conditions #198720
-
🏷️ Discussion TypeQuestion 💬 Feature/Topic AreaOther Discussion DetailsA long time ago a made a big mistake and ignored a dependency version: quickfix-j/quickfixj#509 (comment) I tried to un-ignore via the PR but this did not work because the PR was over 2 years old and the branch has been deleted. Then I tried to overrule this via dependabot config here https://github.com/quickfix-j/quickfixj/pull/1256/changes and here https://github.com/quickfix-j/quickfixj/pull/1257/changes but to no avail. The dependabot log still shows: Shouldn't there be a config in the github settings or some other overrule switch somewhere? I couldn't find it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey Christoph,This looks like a stored Dependabot ignore condition The important line is this one:
That ignore does not live in So the config changes in your PRs probably cannot override it. Dependabot applies In your log, Dependabot is seeing two ignores:
Together, those block the entire useful range, including What I would tryFirst, remove the temporary The harder part is the stored Possible ways out:
One wrinkle: I agree there should be a settings pageThis is exactly the kind of case where a repository setting would help. Something like:
Right now these comment-created ignores are easy to create and hard to discover later. Two years later, the log is basically the only clue. So yes, I think your expectation is reasonable. There should be an overrule/management surface for this. The current behavior makes sense technically, but the recovery path is too hidden, especially when the original PR branch was deleted. Useful docs:
|
Beta Was this translation helpful? Give feedback.
Hey Christoph,
This looks like a stored Dependabot ignore condition
The important line is this one:
>= 2.2.a, < 2.3 - from @dependabot ignore commandThat ignore does not live in
.github/dependabot.yml. Dependabot stores ignores created from PR comments centrally for the repository.So the config changes in your PRs probably cannot override it. Dependabot applies
allow/normal update rules first, then filters ignored versions afterward. If a dependency version matches both an allowed rule and an ignored rule, the ignore wins.In your log, Dependabot is seeing two ignores:
< 2.2.7 - from .github/dependabot.yml>= 2.2.a, < 2.3 - from @dependabot ignore commandTogether, those block the e…