mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
fix: pass sc.Env
through common.Logger
to hide secrets (#578)
Currently all secrets are exposed when running with `--verbose`/`-v` option
This commit is contained in:
parent
893974c744
commit
c795435c2d
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ func (sc *StepContext) setupEnv(ctx context.Context) (ExpressionEvaluator, error
|
|||
evaluator := sc.NewExpressionEvaluator()
|
||||
sc.interpolateEnv(evaluator)
|
||||
|
||||
log.Debugf("setupEnv: %v", sc.Env)
|
||||
common.Logger(ctx).Debugf("setupEnv => %v", sc.Env)
|
||||
return evaluator, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue