20
20
selectLabel string
21
21
selectLabels []string
22
22
addLabels []string
23
- assignees []string
23
+ addAssignees []string
24
24
requireCI bool
25
25
mustBeApproved bool
26
26
autoclose bool
@@ -58,7 +58,7 @@ func NewRootCmd() *cobra.Command {
58
58
gh combine --file repos.txt
59
59
60
60
# Filter PRs by branch name
61
- gh combine octocat/hello-world --branch-prefix dependabot/
61
+ gh combine octocat/hello-world --branch-prefix dependabot/ # Only include PRs with the standard dependabot branch prefix
62
62
gh combine octocat/hello-world --branch-suffix -update
63
63
gh combine octocat/hello-world --branch-regex "dependabot/.*"
64
64
@@ -77,7 +77,7 @@ func NewRootCmd() *cobra.Command {
77
77
78
78
# Add metadata to combined PR
79
79
gh combine octocat/hello-world --add-labels security,dependencies # Add these labels to the new PR
80
- gh combine octocat/hello-world --assignees octocat,hubot # Assign users to the new PR
80
+ gh combine octocat/hello-world --add- assignees octocat,hubot # Assign users to the new PR
81
81
82
82
# Additional options
83
83
gh combine octocat/hello-world --autoclose # Close source PRs when combined PR is merged
@@ -102,7 +102,7 @@ func NewRootCmd() *cobra.Command {
102
102
rootCmd .Flags ().StringSliceVar (& addLabels , "add-labels" , nil , "Comma-separated list of labels to add to the combined PR" )
103
103
104
104
// Other flags
105
- rootCmd .Flags ().StringSliceVar (& assignees , "assignees" , nil , "Comma-separated list of users to assign to the combined PR" )
105
+ rootCmd .Flags ().StringSliceVar (& addAssignees , "add- assignees" , nil , "Comma-separated list of users to assign to the combined PR" )
106
106
rootCmd .Flags ().BoolVar (& requireCI , "require-ci" , false , "Only include PRs with passing CI checks" )
107
107
rootCmd .Flags ().BoolVar (& mustBeApproved , "require-approved" , false , "Only include PRs that have been approved" )
108
108
rootCmd .Flags ().BoolVar (& autoclose , "autoclose" , false , "Close source PRs when combined PR is merged" )
0 commit comments