@@ -73,6 +73,7 @@ func NewCmdRoot(f *cmdutil.Factory, version, buildDate string) *cobra.Command {
7373
7474 // Child commands
7575 cmd .AddCommand (versionCmd .NewCmdVersion (f , version , buildDate ))
76+ cmd .AddCommand (actionsCmd .NewCmdActions (f ))
7677 cmd .AddCommand (aliasCmd .NewCmdAlias (f ))
7778 cmd .AddCommand (authCmd .NewCmdAuth (f ))
7879 cmd .AddCommand (configCmd .NewCmdConfig (f ))
@@ -82,10 +83,6 @@ func NewCmdRoot(f *cmdutil.Factory, version, buildDate string) *cobra.Command {
8283 cmd .AddCommand (secretCmd .NewCmdSecret (f ))
8384 cmd .AddCommand (sshKeyCmd .NewCmdSSHKey (f ))
8485
85- cmd .AddCommand (actionsCmd .NewCmdActions (f ))
86- cmd .AddCommand (runCmd .NewCmdRun (f ))
87- cmd .AddCommand (workflowCmd .NewCmdWorkflow (f ))
88-
8986 // the `api` command should not inherit any extra HTTP headers
9087 bareHTTPCmdFactory := * f
9188 bareHTTPCmdFactory .HttpClient = bareHTTPClient (f , version )
@@ -100,6 +97,8 @@ func NewCmdRoot(f *cmdutil.Factory, version, buildDate string) *cobra.Command {
10097 cmd .AddCommand (issueCmd .NewCmdIssue (& repoResolvingCmdFactory ))
10198 cmd .AddCommand (releaseCmd .NewCmdRelease (& repoResolvingCmdFactory ))
10299 cmd .AddCommand (repoCmd .NewCmdRepo (& repoResolvingCmdFactory ))
100+ cmd .AddCommand (runCmd .NewCmdRun (& repoResolvingCmdFactory ))
101+ cmd .AddCommand (workflowCmd .NewCmdWorkflow (& repoResolvingCmdFactory ))
103102
104103 // Help topics
105104 cmd .AddCommand (NewHelpTopic ("environment" ))
0 commit comments