mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-07 07:40:29 +00:00
17 files changed
+714
-16
No files matched your search
@@ -272,9 +272,8 @@ func (rc *RunContext) vmRunner() func(*otto.Otto) {
|
||||
}
|
||||
|
||||
func (rc *RunContext) vmSecrets() func(*otto.Otto) {
|
||||
secrets := make(map[string]string)
|
||||
return func(vm *otto.Otto) {
|
||||
_ = vm.Set("secrets", secrets)
|
||||
_ = vm.Set("secrets", rc.Config.Secrets)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user