mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
[RDNF #11] fix: skipped jobs have no result & fix: favor command-line over files & chore: fix some comments (#143)
https://github.com/nektos/act/pull/2274 https://github.com/nektos/act/pull/2276 https://github.com/nektos/act/pull/2279 Co-authored-by: lvyaoting <166296299+lvyaoting@users.noreply.github.com> Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com> Co-authored-by: ChristopherHX <christopher.homberger@web.de> Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/143 Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org> Co-authored-by: achyrva <achyrva@noreply.code.forgejo.org> Co-committed-by: achyrva <achyrva@noreply.code.forgejo.org>
This commit is contained in:
parent
422e17bc27
commit
4880b091a2
4 changed files with 8 additions and 5 deletions
|
@ -333,7 +333,9 @@ func readEnvs(path string, envs map[string]string) bool {
|
|||
log.Fatalf("Error loading from %s: %v", path, err)
|
||||
}
|
||||
for k, v := range env {
|
||||
envs[k] = v
|
||||
if _, ok := envs[k]; !ok {
|
||||
envs[k] = v
|
||||
}
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue