Repository navigation
Conversation
Set the organisation's label `type: dependencies` on every Dependabot entry, so that its pull requests no longer get Dependabot's own labels. Remove `target-branch` from every entry: it names the default branch anyway, and while it is set, GitHub doesn't apply an entry's options, labels included, to security updates. The `ignore` rules now also apply to security updates, as intended. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reviewer's GuideConfigurationAdd the organisation’s dependency label to every Dependabot update entry and remove
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #181 +/- ##
=======================================
Coverage 77.60% 77.60%
=======================================
Files 74 74
Lines 3487 3487
Branches 416 416
=======================================
Hits 2706 2706
Misses 621 621
Partials 160 160 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
uniqueg
marked this pull request as ready for review
November 14, 2026 19:29
Linked issuesChecked at commit fe75726 #180 ci: let Dependabot label all its pull requests · 4 of 5 met · 1 to check by hand
|
There was a problem hiding this comment.
Hey - I've found 1 issue
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path=".github/dependabot.yml" line_range="12" />
<code_context>
directory: /
schedule:
interval: monthly
- target-branch: dev
ignore:
- dependency-name: org.springframework.boot:*
</code_context>
<issue_to_address>
**Security fixes are suppressed for held versions**
When a security fix for one of those dependencies is available only in a version matched by its ignore rule, dependabot applies these entries’ `ignore` rules to security updates, so it does not open an advisory PR and the affected dependency remains on its vulnerable version without an automated fix.
Allow security updates through the ignore rules, or provide a separate process to ensure fixes in the ignored ranges are applied promptly.
Also at `.github/dependabot.yml:46`.
</issue_to_address>Sourcery assessment
Approval pending. 1 finding to address first.
Blocking findings: .github/dependabot.yml:12
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Lets Dependabot label all its pull requests, security updates included, with the organisation's label
type: dependenciesonly, instead of its own labels (dependenciesplus an ecosystem label).In
.github/dependabot.yml:labels: ["type: dependencies"]to everyupdatesentry (4: maven, github-actions, docker, pip).target-branch: devfrom every entry (4 entries).devis the default branch, so version updates still target it.target-branchwith one that explains why no entry sets it.ignorerules. They now also apply to security updates: the Spring Boot 3 hold-backs (build: move to Spring Boot 3 #66, build: hold back major updates until Spring Boot 3 #91), theopenapi-generator-maven-pluginhold below 7 and theeclipse-temurinmajor hold. That's intended.Nothing else changes: compared as data (keys sorted), the new file equals the old one minus
target-branchpluslabelson every entry.Closes #180
Light lane: CI configuration only (Dependabot), no secrets, permissions or release workflow touched, so the reviewer subagents were skipped; I reviewed the diff myself.
Verification
yqparses the new.github/dependabot.yml; everyupdatesentry haslabels: ["type: dependencies"]; notarget-branchis left.yq -o=json 'sort_keys(..)'): only the intended change.CI passedgreen).Declined review findings
ignorerules now suppress security updates in held ranges. Intended (see above): those updates need hand-made changes, and Dependabot alerts, code scanning and the CI image scan still surface the advisories.Open questions
None.
🤖 Generated with Claude Code