1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-11 17:50:58 +00:00
Forgejo runner - alpha release, should not be considered secure enough to deploy in production
Find a file
Eng Zer Jun df3d88caa1 refactor(cmd/root): simplify parseEnvs (#2162)
Prior to this commit, `parseEnvs` accept two parameters:

  1. env []string
  2. envs map[string]string

`parseEnvs` then do a `nil` check for `env`. However, we never pass a
`nil` `env` to `parseEnvs` in `newRunCommand`.

This commit simplify the `parseEnvs` function to accept just one
`env []string` parameter and return the result as `map[string]string`
instead.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2024-01-24 03:06:31 +00:00
.github build(deps): bump megalinter/megalinter from 7.7.0 to 7.8.0 (#2164) 2024-01-22 02:22:08 +00:00
act Add containerd's normalized architectures to archMapper (#2168) 2024-01-24 02:44:48 +00:00
cmd refactor(cmd/root): simplify parseEnvs (#2162) 2024-01-24 03:06:31 +00:00
main.go feat: add check for newer versions (#1562) 2023-01-15 10:30:41 +00:00