Skip to content

ci: label Dependabot PRs - #58

Merged
uniqueg merged 1 commit into
devfrom
ci/dependabot-labels
Nov 9, 2026
Merged

uniqueg merged 1 commit into
devfrom
ci/dependabot-labels

Conversation

@uniqueg

@uniqueg uniqueg commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Summary

Sets labels: ["type: dependencies"] on every updates entry of
.github/dependabot.yml (and on multi-ecosystem groups, if any), so that
Dependabot pull requests carry the organisation's label instead of
recreating Dependabot's default labels.

Closes #57

Verification

  • The edited file parses with yq; every updates entry has exactly
    labels: ["type: dependencies"], and the file is otherwise semantically
    unchanged (yq comparison with the label keys removed).
  • Comments and formatting are unchanged (one inserted line per entry).

Lane

Light lane: configuration only (Dependabot config), no secrets,
permissions or release workflow touched; reviewed the diff by hand.

Declined review findings

None.

Open questions

None.

🤖 Generated with Claude Code

Summary by Sourcery

Enhancements:

  • Apply the organisation’s dependency label to all Dependabot update configurations.

Set labels: ["type: dependencies"] on every updates entry of
.github/dependabot.yml, so that Dependabot pull requests carry the
organisation's label instead of recreating its default labels
(dependencies and ecosystem labels), which are not in the org label set.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sourcery-ai

sourcery-ai Bot commented Nov 9, 2026

Copy link
Copy Markdown

Reviewer's Guide

Configuration

Add the organisation’s dependency label to each Dependabot update entry so its pull requests use the desired label.

  • .github/dependabot.yml L10, L26, L36

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@uniqueg
uniqueg marked this pull request as ready for review November 9, 2026 01:05
@uniqueg
uniqueg merged commit 7548c65 into dev Nov 9, 2026
19 checks passed
@uniqueg
uniqueg deleted the ci/dependabot-labels branch November 9, 2026 01:05

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!

Linked issues

#57 ci: label Dependabot PRs with type: dependencies · 1 of 1 met

# Requirement Status Notes
1 Set labels: ["type: dependencies"] on every updates entry and every multi-ecosystem group, if any. ✅ Met All three updates entries have the requested label; the file contains no multi-ecosystem groups.

Sourcery assessment

Needs a human reviewer. Dependabot-created PRs will receive a dependency label, which may remain on already-open PRs after this configuration is reverted. A mistaken label is bounded and can be removed manually; no dependency behavior changes.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: label Dependabot PRs with type: dependencies

1 participant