Repository navigation
ci: let Dependabot label all its pull requests - #81
Merged
Merged
Conversation
Remove `target-branch` from every Dependabot 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. Security update pull requests then get `type: dependencies` instead of Dependabot's own labels. The `ignore` rules now also apply to security updates, as intended. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reviewer's GuideConfigurationRemove
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
uniqueg
marked this pull request as ready for review
November 14, 2026 19:30
Linked issuesChecked at commit 1f95d3b #80 ci: let Dependabot label all its pull requests · 3 of 4 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="41" />
<code_context>
labels: ["type: dependencies"]
schedule:
interval: monthly
- target-branch: dev
versioning-strategy: increase-if-necessary
groups:
</code_context>
<issue_to_address>
**Security fixes are suppressed**
When a security advisory affects an ignored dependency, dependabot applies the existing `ignore` rules to security updates and suppresses the corresponding security PRs, leaving affected images vulnerable until a maintainer performs the manual update. The CI image audit only runs when CI runs; it does not replace those update PRs.
Ensure ignored dependencies still receive timely security review and updates, for example by providing a separate monitored manual update process or keeping security updates eligible.
Also at `.github/dependabot.yml:32`, `.github/dependabot.yml:67`.
</issue_to_address>Sourcery assessment
Approval pending. 1 finding to address first.
Blocking findings: .github/dependabot.yml:41
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:target-branch: devfrom every entry (7 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:crypt4gh(updated by hand with the version the tests use) and the holds on minor and major updates of thepythonimage and on major updates of the end-to-end test images. That's intended.Nothing else changes: compared as data (keys sorted), the new file equals the old one minus
target-branchpluslabelson every entry.Closes #80
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