feat: add renovate label to issues and PRs #7
No reviewers
Labels
No labels
bug
dependencies
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
alex/renovate-bot!7
Loading…
Reference in a new issue
No description provided.
Delete branch "pi/issue6-add-renovate-label"
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?
Summary
Adds the
renovatelabel to the labels applied when Renovate creates issues and PRs.Changes
config.jsto includerenovatein thelabelsarray alongside the existingdependencieslabel.This ensures all issues and PRs created by the bot are clearly tagged with a
renovatelabel for easy identification and filtering.Closes #6
/pi see if it's possible to apply to the dashboard issues too
The PR adds the label to the
labelsoption, but that option in Renovate only applies to Pull Requests. The Dependency Dashboard is a separate issue, and Renovate uses a dedicated option calleddependencyDashboardLabelsfor it. Let me check whether the dashboard is enabled and then make the fix.Now I'll add thedependencyDashboardLabelsoption so the label is also applied to the Dependency Dashboard issue. Thelabelsoption only covers PRs, so a separate option is needed.Yes — it's possible. The key detail: in Renovate, thelabelsoption only applies to Pull Requests. The Dependency Dashboard is a separate issue, and it's tagged via a dedicateddependencyDashboardLabelsoption.So I added
dependencyDashboardLabels: ['dependencies', 'renovate']alongside the existinglabelsentry to ensure the dashboard issue also gets the label. I pushed this change to the PR (#7) and updated its title/description to reflect that both PRs and dashboard issues are now covered.View action run | Model: zai/glm-5.2 (thinking: xhigh) | Time: 2m 13s | Tokens: 44.7K | Pi SDK v0.80.3 | Action v2.25.0-develop (develop @ 0e171ae)
/pi add dependencyDashboardLabels: ['dependencies'], remove the new "renovate" label, dependecies lable is enough. Commit and push to the pr
The changes look correct. Now let me commit and push to the PR branch.Done. I've committed and pushed the changes to PR #7. Here's a summary of what was changed in
config.js:'renovate'label fromlabels— reverted back to just['dependencies'](the dependencies label is sufficient)dependencyDashboardLabels: ['dependencies']so the dependency dashboard issue also gets tagged with thedependencieslabelThe final diff against
masteris now:The commit has been pushed to the
pi/issue6-add-renovate-labelbranch.View action run | Model: zai/glm-5.2 (thinking: xhigh) | Time: 1m 35s | Tokens: 58.1K | Pi SDK v0.80.3 | Action v2.25.0-develop (develop @ 0e171ae)