Skip to content
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

Customize Dependabot, especially for npm and gradle #418

Closed
tillkuhn opened this issue Jan 21, 2023 · 1 comment
Closed

Customize Dependabot, especially for npm and gradle #418

tillkuhn opened this issue Jan 21, 2023 · 1 comment
Labels
dependencies Pull requests that update a dependency file

Comments

@tillkuhn
Copy link
Owner

Feature
https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#ignore

Example

# Use `ignore` to specify dependencies that should not be updated

version: 2
updates:
  - package-ecosystem: "npm"
    directory: "/"
    schedule:
      interval: "weekly"
    ignore:
      - dependency-name: "express"
        # For Express, ignore all updates for version 4 and 5
        versions: ["4.x", "5.x"]
        # For Lodash, ignore all updates
      - dependency-name: "lodash"
        # For AWS SDK, ignore all patch updates
      - dependency-name: "aws-sdk"
        update-types: ["version-update:semver-patch"]
@tillkuhn tillkuhn added the dependencies Pull requests that update a dependency file label Jan 21, 2023
@tillkuhn
Copy link
Owner Author

tillkuhn commented Feb 5, 2023

As for Gradle and not having the dependency version directly in the dependency declaration string (build.gradle.kts), check open issues

@tillkuhn tillkuhn changed the title Customize Dependabot, especially for npm Customize Dependabot, especially for npm and gradle Feb 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

1 participant