There are only a few cases, where we get a job information from github where the runner name is not set. For all this cases we do not need to check github API at all because these jobs are never ever get scheduled to a runner: job.Action is: * queued: a queued job is just queued and not scheduled to a runner so we do not get a runner name from the GH API * completed: when conclusion=cancelled|failure github never scheduled the job to a runner and with that we do not get a runner name from the GH API Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com> |
||
|---|---|---|
| .. | ||
| common.go | ||
| locking.go | ||
| pool.go | ||
| util.go | ||
| util_test.go | ||