[CLI] implement forgejo-cli actions generate-secret (squash) NoInit
This commit is contained in:
parent
5c31ae602a
commit
962c944eb2
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue