From 902ebcdf3d8413b3dd93d3cb82d950e6829a7b02 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Fri, 14 Jul 2023 12:06:33 +0200 Subject: [PATCH] [CLI] implement forgejo-cli actions generate-secret (squash) NoInit (cherry picked from commit 962c944eb20268a394030495c3caab3e3d4bd8b7) --- cmd/forgejo/actions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/forgejo/actions.go b/cmd/forgejo/actions.go index 224bc626b4..58accdc8b7 100644 --- a/cmd/forgejo/actions.go +++ b/cmd/forgejo/actions.go @@ -190,7 +190,7 @@ func RunGenerateSecret(ctx context.Context, cliCtx *cli.Context) error { } func RunGenerateActionsRunnerToken(ctx context.Context, cliCtx *cli.Context) error { - if !ContextGetNoInstallSignals(ctx) { + if !ContextGetNoInit(ctx) { var cancel context.CancelFunc ctx, cancel = installSignals(ctx) defer cancel()