We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 89b5708 + 24b0e69 commit 50c9dd2Copy full SHA for 50c9dd2
.github/workflows/versions.yaml
@@ -35,8 +35,8 @@ jobs:
35
make generate
36
37
# Reset jsonnetfile.lock.json if no dependencies were updated
38
- changedFiles=$(git diff --name-only | grep -v 'jsonnetfile.lock.json')
39
- if [[ $changedFiles == "" ]]; then
+ changedFiles=$(git diff --name-only | grep -v 'jsonnetfile.lock.json' | wc -l)
+ if [[ "$changedFiles" -eq 0 ]]; then
40
git checkout -- jsonnetfile.lock.json;
41
fi
42
- name: Create Pull Request
0 commit comments