Skip to content

Commit 5bc6de4

Browse files
authored
Dependency update workflow: log when there is nothing to be updated (#418)
Log when there is nothing to be updated Signed-off-by: ArthurSens <[email protected]> Signed-off-by: ArthurSens <[email protected]>
1 parent 6f7b547 commit 5bc6de4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/dep-update.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
# Reset jsonnetfile.lock.json if no dependencies were updated
2525
changedFiles=$(git diff --name-only | grep -v 'jsonnetfile.lock.json')
2626
if [[ $changedFiles == "" ]]; then
27+
echo "There was nothing to update, the job will intentionally fail to avoid only commiting a lock file"
2728
git checkout -- jsonnetfile.lock.json;
2829
fi
2930
make generate

0 commit comments

Comments
 (0)