diff --git a/.github/workflows/dep-update.yaml b/.github/workflows/dep-update.yaml index e8cbeb61..c8a7086f 100644 --- a/.github/workflows/dep-update.yaml +++ b/.github/workflows/dep-update.yaml @@ -24,6 +24,7 @@ jobs: # Reset jsonnetfile.lock.json if no dependencies were updated changedFiles=$(git diff --name-only | grep -v 'jsonnetfile.lock.json') if [[ $changedFiles == "" ]]; then + echo "There was nothing to update, the job will intentionally fail to avoid only commiting a lock file" git checkout -- jsonnetfile.lock.json; fi make generate