mirror of
1
Fork 0

[CLI] implement forgejo-cli actions generate-secret (squash) NoInit

This commit is contained in:
Earl Warren 2023-07-14 12:06:33 +02:00
parent 5c31ae602a
commit 962c944eb2
No known key found for this signature in database
GPG Key ID: 0579CB2928A78A00
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ func RunGenerateSecret(ctx context.Context, cliCtx *cli.Context) error {
} }
func RunGenerateActionsRunnerToken(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 var cancel context.CancelFunc
ctx, cancel = installSignals(ctx) ctx, cancel = installSignals(ctx)
defer cancel() defer cancel()