mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-28 23:42:28 +00:00
[CLI] implement forgejo-cli actions generate-secret (squash) NoInit
(cherry picked from commit962c944eb2
) (cherry picked from commit902ebcdf3d
)
This commit is contained in:
parent
fe410f108a
commit
e7304c0d8e
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue