Repository navigation
Bring the Renovate-applied dependencies and security labels under the shared taxonomy - #27
Merged
Merged
Conversation
The dependencies label was never in labels.yml, so the sync left it alone and each repo kept whatever color first created it. Of the 12 repos calling label-sync-reusable.yml, 7 carry Dependabot's 0366d6 with its default description and 4 carry GitHub's default ededed with none -- the split tracks whether Dependabot ever ran there, not any current tooling, since all of them are on Renovate now. Adopt the 0366d6 that the majority already shows. The next scheduled sync recolors the remaining 4 via gh label create --force. Co-authored-by: Cursor <cursoragent@cursor.com>
Also applied by the Renovate preset, but only on vulnerability-remediation PRs via the vulnerabilityAlerts block, so GitHub creates it the first time one lands. Seven repos have it (gray, no description); the four without it -- infrastructure, helm-charts, oink, thog-deployments -- have no manifest in an ecosystem the advisory database covers, so they get no alerts and have never had a security PR to create it. Keep ededed so the seven repos that have it don't change, and add the description they're all missing. Listing it here creates it everywhere up front rather than having it appear mid-incident. Co-authored-by: Cursor <cursoragent@cursor.com>
Both entries now take their color and description verbatim from dependabot-core's labeler (create_github_security_label, ee0701), the same source the dependencies entry already matched. The gray on the seven repos that have the label is not a choice anyone made; it is what GitHub assigns when Renovate applies a label that does not exist yet. Recolors the label on all seven. Deliberately close to risk/high's cf222e but they never appear together: risk/* is Bugbot scoring a human PR, security lands only on Renovate vulnerability PRs. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
tylorreeves
approved these changes
Sep 14, 2026
bryanbeverly
deleted the
bryanbeverly/cursor/sync-dependencies-label
branch
September 14, 2026 19:27
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.
Neither
dependenciesnorsecuritywas listed inlabels.yml, so the sync never touched them and each repo kept whatever the tool that first created the label happened to set. Both come from the shared Renovate preset (renovate-config.json), not the pr-labeler.dependenciesexists on all 12 repos but in two colors:0366d6with a description on 7, GitHub's defaultedededwith none on 4. The split is whether Dependabot ran there before the Renovate migration.securityexists on only 7. The preset applies it fromvulnerabilityAlerts, so GitHub creates it on a repo's first vulnerability PR — and the other 4 have no manifest in an ecosystem the advisory database covers, so they never get one.Both entries take their color and description from
dependabot-core's labeler.rb, where these labels originate. The gray in this org was never a choice; it is what GitHub assigns when Renovate applies a label that does not exist yet.Next sync recolors
dependencieson 4 repos, recolorssecurityon 7, and createssecurityon 4. Still additive — nothing is deleted.Note
Low Risk
Config-only change to label metadata; no application or security logic is modified.
Overview
Adds
dependenciesandsecurityto the org’s sharedlabels.ymlso the label-sync workflow can apply consistent colors and descriptions on the next run.These labels are already applied by Renovate/Dependabot on many repos but were missing from the taxonomy, so some repositories kept GitHub’s default gray or inconsistent styling. The sync remains additive—it updates or creates these two labels and does not remove anything else.
Reviewed by Cursor Bugbot for commit c898bed. Bugbot is set up for automated code reviews on this repo. Configure here.