Skip to content

Commit 29bccd4

Browse files
committed
chore: adjust labels
1 parent 0404358 commit 29bccd4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pr/pr-generator.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class PullRequestGenerator {
6161
* Generate labels for a pull request
6262
*/
6363
generateLabels(group: UpdateGroup): string[] {
64-
const labels = ['dependencies', 'automated']
64+
const labels = ['dependencies']
6565

6666
// Add update type labels
6767
if (group.updateType === 'major') {
@@ -103,8 +103,8 @@ export class PullRequestGenerator {
103103

104104
// For single package updates, add the specific package name as a label
105105
if (group.updates.length === 1) {
106-
// const update = group.updates[0]
107-
labels.push(group.title) // This will be like "chore(deps): update dependency stripe to 18.4.0"
106+
const update = group.updates[0]
107+
labels.push(update.name) // Just the package name like "stripe"
108108
}
109109

110110
return labels

0 commit comments

Comments
 (0)