diff --git a/pkg/cmd/actions/actions.go b/pkg/cmd/actions/actions.go index dd731d0ce..7880a9a6c 100644 --- a/pkg/cmd/actions/actions.go +++ b/pkg/cmd/actions/actions.go @@ -1,6 +1,8 @@ package actions import ( + "fmt" + "github.com/MakeNowJust/heredoc" "github.com/cli/cli/pkg/cmdutil" "github.com/cli/cli/pkg/iostreams" @@ -14,11 +16,16 @@ func NewCmdActions(f *cmdutil.Factory) *cobra.Command { Use: "actions", Short: "Learn about working with GitHub actions", Long: actionsExplainer(cs), + Run: func(cmd *cobra.Command, args []string) { + fmt.Fprintln(f.IOStreams.Out, actionsExplainer(cs)) + }, Annotations: map[string]string{ "IsActions": "true", }, } + cmdutil.DisableAuthCheck(cmd) + return cmd }