Skip to content

Commit 5cd8887

Browse files
authored
Fix Dependabot configuration (#3997)
This change restores a valid Dependabot configuration that was broken in #3990 (see the failing GHA run: [57824321555](https://github.com/apache/logging-log4j2/runs/57824321555)). Because GitHub does not validate Dependabot configuration files before merge, the fix is based **entirely** on the documented format and examples in the [Dependabot options reference](https://docs.github.com/en/code-security/dependabot/working-with-dependabot/dependabot-options-reference#exclude-paths-). **Note:** Dependabot appears to interpret the `exclude-paths` key differently from `directories`; unlike `directories`, `exclude-paths` does **not** require a leading slash.
1 parent a6bc86e commit 5cd8887

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/dependabot.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ updates:
4848
exclude-paths:
4949
# These use versions of MongoDB and SLF4J different
5050
# from the remaining artifacts
51-
- "/log4j-mongodb4"
52-
- "/log4j-slf4j-impl"
51+
- "log4j-mongodb4/**"
52+
- "log4j-slf4j-impl/**"
5353
schedule:
5454
interval: "monthly"
5555
groups:

0 commit comments

Comments
 (0)