mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-10-24 21:51:18 +02:00
Merge pull request #1326 from dgrisonnet/fix-versions-ci
Fix automated update in CI
This commit is contained in:
commit
50c9dd2c6f
4
.github/workflows/versions.yaml
vendored
4
.github/workflows/versions.yaml
vendored
@ -35,8 +35,8 @@ jobs:
|
||||
make generate
|
||||
|
||||
# Reset jsonnetfile.lock.json if no dependencies were updated
|
||||
changedFiles=$(git diff --name-only | grep -v 'jsonnetfile.lock.json')
|
||||
if [[ $changedFiles == "" ]]; then
|
||||
changedFiles=$(git diff --name-only | grep -v 'jsonnetfile.lock.json' | wc -l)
|
||||
if [[ "$changedFiles" -eq 0 ]]; then
|
||||
git checkout -- jsonnetfile.lock.json;
|
||||
fi
|
||||
- name: Create Pull Request
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user