Ensure shellcheck failure exit code is reflected in GH job result

This commit is contained in:
Jesper Noordsij 2024-10-08 11:58:05 +02:00 committed by GitHub
parent 0a6b8780f0
commit ab35b3266a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 5 deletions

View file

@ -1,8 +1,8 @@
#!/usr/bin/env bash
# shellcheck disable=SC2046
set -e -o pipefail
# shellcheck disable=SC1091 # Cannot check source of this file
source /go/src/k8s.io/code-generator/kube_codegen.sh
git config --global --add safe.directory "/go/src/${PROJECT_MODULE}"