Skip to content

What's the easiest way to ignore a specific version/dependency, when you know you can't upgrade to it? #1542

Closed Answered by rhyskoedijk
semkeijsper asked this question in Q&A
Discussion options

You must be logged in to vote

Unfortunately comment commands are not implemented currently; It is tracked by #101.

Recognising abandoned PRs and auto-ignoring them like GitHub does is something I would like to look in to, but isn't implemented yet either.

For now, to ignore packages, use the ignore option in dependabot.yml. e.g.

version: 2
updates:
  - package-ecosystem: "nuget"
    directory: "/"
    ignore:
      # Ignore major version updates for all packages
      - dependency-name: "*"
        update-types: ["version-update:semver-major"]
      # Ignore xunit updates that are not patches
      - dependency-name: "xunit.*"
        update-types: ["version-update:semver-major","version-update:semver-major"]
      #

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@semkeijsper
Comment options

Answer selected by semkeijsper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants