Skip to content

Commit bc452d3

Browse files
committed
fix
1 parent 3a53ffb commit bc452d3

33 files changed

+351
-329
lines changed

cmd/actions.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@ import (
1414

1515
var (
1616
// CmdActions represents the available actions sub-commands.
17-
CmdActions = cli.Command{
17+
CmdActions = &cli.Command{
1818
Name: "actions",
1919
Usage: "",
2020
Description: "Commands for managing Gitea Actions",
21-
Subcommands: []cli.Command{
21+
Subcommands: []*cli.Command{
2222
subcmdActionsGenRunnerToken,
2323
},
2424
}
2525

26-
subcmdActionsGenRunnerToken = cli.Command{
26+
subcmdActionsGenRunnerToken = &cli.Command{
2727
Name: "generate-runner-token",
2828
Usage: "Generate a new token for a runner to use to register with the server",
2929
Action: runGenerateActionsRunnerToken,
3030
Aliases: []string{"grt"},
3131
Flags: []cli.Flag{
32-
cli.StringFlag{
32+
&cli.StringFlag{
3333
Name: "scope, s",
3434
Value: "",
3535
Usage: "{owner}[/{repo}] - leave empty for a global runner",

0 commit comments

Comments
 (0)