-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: set assignees for dependency upgrade PRs #1692
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1692 +/- ##
==========================================
+ Coverage 88.06% 89.62% +1.56%
==========================================
Files 132 151 +19
Lines 5109 6157 +1048
Branches 1207 1582 +375
==========================================
+ Hits 4499 5518 +1019
- Misses 610 637 +27
- Partials 0 2 +2
Continue to review full report at Codecov.
|
Signed-off-by: github-actions <github-actions@github.com>
@@ -367,6 +367,8 @@ export class UpgradeDependencies extends Component { | |||
branch: branchName, | |||
title: title, | |||
labels: this.options.workflowOptions?.labels?.join(",") || undefined, | |||
assignees: | |||
this.options.workflowOptions?.assignees?.join(",") || undefined, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just calling out that I found it odd that we were using ||
here but I guess that is because [].join(",") === ""
and we want that to be undefined
also. If there's more to it let me know, cuz it seems like we gravitate towards ??
more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I believe it's to handle the empty array case, but you're right we usually prefer ??
Following the documentation of https://github.com/marketplace/actions/create-pull-request
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.