GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: Label Renovate PRs the same way as former Dependabot PRs by masutaka · Pull Request #366 · masutaka/github-nippou

Conversation

@masutaka

@masutaka masutaka commented Oct 4, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Owner

Why

Renovate PRs have no labels, while the former Dependabot PRs had dependencies plus an ecosystem label. This restores the same labeling.

What

  • Add top-level "labels": ["dependencies"]
  • Add ecosystem labels per manager via packageRules:
    • gomod -> go
    • github-actions -> github_actions

Investigation

Labels on the past Dependabot PRs (--author app/dependabot --state all, 100 PRs):

Labels Count
dependencies, github_actions 51
dependencies, go 48
dependencies 1 (#87, an old Go PR from before Dependabot added ecosystem labels)

All of them were added by Dependabot itself. No labels from other tools or manual labeling were found.

There are no customManagers (custom.regex), so no extra label mapping is needed.

Validation

$ npx --yes --package renovate -- renovate-config-validator --strict
 INFO: Validating renovate.json
 INFO: Config validated successfully against 1 file(s)

TODO after merge

Renovate reads the config from main, so labels on existing PRs are applied only after this is merged.

  • Check labels on all Renovate PRs, including merged/closed ones
  • Note: Renovate records the labels it added in the renovate-debug comment (base64-encoded JSON) in the PR body. PRs whose actual labels differ from that record (e.g. another tool added a label) are treated as "modified by the user" and are not updated. Closed/merged PRs are not updated either.
  • Add missing labels manually with gh pr edit --add-label where they were not applied as expected

Result: all 3 Renovate PRs (#360, #361, #362, all open; no merged/closed ones) have dependencies and go, matching their renovate-debug records. No manual labeling was needed.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@masutaka
chore: Label Renovate PRs the same way as former Dependabot PRs
aa1f80a
@masutaka masutaka added the maintenance label Oct 4, 2026
@github-actions github-actions Bot assigned masutaka Oct 4, 2026
@masutaka
masutaka marked this pull request as ready for review October 4, 2026 07:57
@masutaka
masutaka merged commit 43e6adc into main Oct 4, 2026
9 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@masutaka
masutaka deleted the renovate-labels branch October 4, 2026 07:57
This was referenced Oct 4, 2026
Release for v4.3.3 (failed, redone in #369) #355
Merged
Release for v4.3.3 #369
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@masutaka masutaka

Labels

maintenance

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@masutaka
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.