-
Notifications
You must be signed in to change notification settings - Fork 135
ci: group sdk updates #4651
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
base: main
Are you sure you want to change the base?
ci: group sdk updates #4651
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,22 +15,34 @@ updates: | |
| commit-message: | ||
| prefix: "deps" | ||
| ignore: | ||
| # Allow security updates for all dependencies | ||
| - dependency-name: "*" | ||
| update-types: ["version-update:semver-major", "version-update:semver-minor"] | ||
| # But allow security updates even for major/minor | ||
| except: | ||
| - update-types: ["version-update:semver:security"] | ||
|
|
||
| # Specific dependencies to exclude from automatic updates | ||
| # (These are managed manually due to breaking changes) | ||
| - dependency-name: "com.squareup.okhttp3:*" | ||
| - dependency-name: "org.hisp.dhis.mobile:designsystem" | ||
| - dependency-name: "org.hisp.dhis:android-core" | ||
| - dependency-name: "org.hisp.dhis.rules:rule-engine-jvm" | ||
| - dependency-name: "org.hisp.dhis.lib.expression:expression-parser-jvm" | ||
|
|
||
| # Group DHIS2 core updates together | ||
| groups: | ||
| gradle-updates: | ||
| dhis2-android-core: | ||
| patterns: | ||
| - "*" # Group all Gradle updates into one PR | ||
| - "org.hisp.dhis:android-core" | ||
| update-types: | ||
| - "patch" # Only include patch updates (no major or minor versions) | ||
| - "patch" | ||
| - "minor" | ||
| - "major" | ||
|
Comment on lines
33
to
+40
|
||
|
|
||
| # GitHub Actions updates (optional) | ||
| - package-ecosystem: "github-actions" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "weekly" | ||
| target-branch: "develop" | ||
| open-pull-requests-limit: 5 | ||
| open-pull-requests-limit: 5 | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
ignoreentry adds anexcept:block, butexceptis not a valid key in Dependabot’signoreconfiguration. Additionally,version-update:semver:securityis not a validupdate-typesvalue. This will likely cause Dependabot to reject the config. If the goal is to ensure security updates still open, note that Dependabot security updates are handled separately and generally aren’t affected byignore; removeexceptand keep only supportedupdate-typesentries (or restructure using a separate update config).