Closed ekohilas closed 1 week ago
hmm, i feel the current behaviour is correct,
since
---
job:
script:
- echo "should always run"
job2:
rules: [] # kinda a gcl bug .. on gitlab-ci this is an invalid config
script:
- echo "should never run"
job3:
rules: null
script:
- echo "should always run"
an alternative is that we can delete the rules
key from the json output when it's undefined instead of showing rules: null
Ah that's a good perspective. Thanks I'll update for that :blush:
list-json was returning
null
in json for rules output when the rules were undefined