kernel: Fix length check for patch workflow

We want to skip the patch checks if there is an empty, but not nil, list
of patches. Update the length check accordingly.

BUG=None
TEST=presubmit

Change-Id: I34992817093e5b893d603b9a8827b27f3048ad9f
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/173666
Reviewed-by: Derek Taylor <ddtaylor@google.com>
Cloud-Build: 228075978874@cloudbuild.gserviceaccount.com <228075978874@cloudbuild.gserviceaccount.com>
Tested-by: Kevin Berry <kpberry@google.com>
1 file changed
tree: eac1710db1e6fb3090fb461093c3e8e87e9e3784
  1. coverage/
  2. release/
  3. src/
  4. testing/
  5. vendor/
  6. .bazelignore
  7. .gitignore
  8. BUILD.bazel
  9. cloudbuild.yaml
  10. CONTRIBUTING.md
  11. deps.bzl
  12. go.mod
  13. go.sum
  14. LICENSE
  15. postsubmit-cloudbuild.yaml
  16. README.md
  17. run_builds.sh
  18. run_unit_tests.sh
  19. WORKSPACE
README.md

Tools for Container-Optimized OS

This is a repository of various tools developed for Container-Optimized OS. Examples include cos-gpu-installer, cos-toolbox, etc.

See CONTRIBUTING.md for how to contribute.