Add label to dashboard #6
Labels
No labels
dependencies
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
alex/.profile#6
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
/pi see if it's possible to add lables to the Dependency dashboard issues created by renovate, if so patch in a new pr
I'll investigate the current Renovate configuration to understand how the Dependency Dashboard works and how labels can be added.The
renovate.jsonis currently minimal with only the schema reference. Let me verify the exact Renovate configuration option for dashboard labels by checking the official schema.ThedependencyDashboardLabelsoption exists in the Renovate schema. Let me get the full details on this option to confirm its type and behavior.ThedependencyDashboardLabelsoption is confirmed in the official schema. It accepts an array of strings and applies them to the Dependency Dashboard issue. Now let me check the current git state and PR #6's branch.Let me look at the CI workflow and check existing labels in the repo to decide on appropriate label naming.Let me check the existing labels available in this repository so I use a label that exists.No labels exist in the repo yet. Let me check for organization-level and default labels available in Forgejo.The repository has no labels yet. FordependencyDashboardLabelsto actually work, the referenced label must exist (Renovate can only apply existing labels, it cannot create them).Here's my finding: Yes, it is possible — Renovate provides the
dependencyDashboardLabelsoption, an array of strings that are always applied to the Dependency Dashboard issue (re-applied even if removed manually).Let me now make the changes. First, I'll create the label via the API so the config is immediately functional, then patch
renovate.json.Thedependencieslabel now exists. Now let me updaterenovate.jsonto enable the dashboard explicitly and apply the label.The config is valid. Now let me create the new PR as requested.PR creation via the tool failed with a 404. Let me create the branch and PR manually via git and the Forgejo API.Branch pushed. Now let me create the PR via the Forgejo API.PR #7 created. Let me verify it looks correct.Done. Here's the summary:✅ Yes — it's possible, and it's now patched in PR #7
Renovate has a dedicated, first-class option for this:
dependencyDashboardLabels— an array of strings that are always applied to the Dependency Dashboard issue, and re-applied even if someone removes them manually.This is deliberately separate from the generic
labelsoption (which tags every PR/issue Renovate opens), so it scopes the label to the dashboard issue only.The change (
renovate.json):One important caveat: Renovate can only apply labels that already exist on the platform — it can't create them, so without the label present the option silently no-ops. Since labels are repo metadata (not in git), I created the
dependencieslabel directly via the API (#0366d6) so the feature works as soon as this merges. If you'd rather use a different name/color, say the word and I'll adjust both the config and the label.PR #7 is open and mergeable.
View action run | Model: zai/glm-5.2 (thinking: xhigh) | Time: 4m 50s | Tokens: 167.7K | Pi SDK v0.80.3 | Action v2.25.0-develop (develop @ 0e171ae)