act_runner/internal/pkg
Jason Song 45bfe0a9b2 Accept empty file as config (#241)
Close #240

`yaml.Decoder.Decode` will return EOF when the root node is nil , see https://github.com/go-yaml/yaml/blob/v3/yaml.go#L125

While `yaml.Unmarshal` will accept it, see https://github.com/go-yaml/yaml/blob/v3/yaml.go#L162

Reviewed-on: https://gitea.com/gitea/act_runner/pulls/241
Reviewed-by: Zettat123 <zettat123@noreply.gitea.com>
2023-06-15 05:40:37 +00:00
..
client Support changing labels (#201) 2023-06-15 03:59:15 +00:00
config Accept empty file as config (#241) 2023-06-15 05:40:37 +00:00
envcheck Refactor to new framework (#98) 2023-04-04 21:32:04 +08:00
labels Support changing labels (#201) 2023-06-15 03:59:15 +00:00
report Skip counting log length when parseLogRow return nil (#176) 2023-05-06 17:00:52 +08:00
ver Refactor to new framework (#98) 2023-04-04 21:32:04 +08:00