|
1 | | -# To get started with Dependabot version updates, you'll need to specify which |
2 | | -# package ecosystems to update and where the package manifests are located. |
3 | | -# Please see the documentation for all configuration options: |
4 | | -# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file |
| 1 | +# Dependabot configuration for Zingg. |
| 2 | +# See: https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file |
| 3 | +# |
| 4 | +# NOTE (issue #1289): Zingg runs *on top of* a Spark cluster (Databricks, EMR, |
| 5 | +# spark-submit classpath). Spark, Scala, and the Jackson libs Spark ships are |
| 6 | +# declared as `provided` scope in the poms — they are compiled against but NOT |
| 7 | +# packaged into the Zingg jar. The runtime environment supplies (and patches) |
| 8 | +# them. Zingg cannot choose their runtime version, so Dependabot PRs/alerts on |
| 9 | +# these are noise. We therefore `ignore` them below. |
| 10 | +# GitHub classifies Maven `provided` scope as "runtime" (not "development"), so |
| 11 | +# there is no built-in scope filter for this yet (dependabot-core#7973) — the |
| 12 | +# ignore list is the config-level lever, and pom <exclusions> remain the real |
| 13 | +# fix for transitive artifacts we must strip from the shipped graph. |
5 | 14 |
|
6 | 15 | version: 2 |
7 | 16 | updates: |
8 | | - - package-ecosystem: "*" # See documentation for possible values |
9 | | - directory: "/" # Location of package manifests |
| 17 | + - package-ecosystem: "maven" |
| 18 | + directories: |
| 19 | + - "/**" # cover the root + all Maven submodules (common/*, spark/*, ...) |
10 | 20 | schedule: |
11 | 21 | interval: "weekly" |
| 22 | + open-pull-requests-limit: 10 |
| 23 | + ignore: |
| 24 | + # --- provided scope: supplied by the Spark runtime, not shipped by Zingg --- |
| 25 | + - dependency-name: "org.apache.spark:*" |
| 26 | + - dependency-name: "org.scala-lang:*" |
| 27 | + - dependency-name: "com.fasterxml.jackson.core:jackson-core" |
| 28 | + - dependency-name: "com.fasterxml.jackson.core:jackson-databind" |
| 29 | + # NOTE: jackson-annotations is `compile` scope (shipped in the jar) — do |
| 30 | + # NOT ignore it; its alerts are real and actionable. |
0 commit comments