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 813c9a18d8 refactor: remove unnecessary nil check in RunContext (#1955)
From the Go docs:

  "For a nil slice, the number of iterations is 0" [1]

Therefore, an additional nil check for `job.RunsOn()` before the loop is
unnecessary because `job.RunsOn()` returns a `[]string`.

[1]: https://go.dev/ref/spec#For_range

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-08-09 12:41:12 +00:00
.github build(deps): bump megalinter/megalinter from 7.1.0 to 7.2.1 (#1931) 2023-08-08 13:37:31 +00:00
act refactor: remove unnecessary nil check in RunContext (#1955) 2023-08-09 12:41:12 +00:00
cmd Add new CLI flag to log just the job id and not the entire job name (#1920) 2023-07-19 21:45:44 +00:00
main.go feat: add check for newer versions (#1562) 2023-01-15 10:30:41 +00:00