Skip to content

Commit

Permalink
Ignore space change during bump check in promotion pipeline (#1632)
Browse files Browse the repository at this point in the history
ignore space change
  • Loading branch information
jaroslaw-pieszka authored Jan 16, 2025
1 parent 426ad0b commit 0e9e8a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/promote-keb-to-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
- name: Check changes
working-directory: management-plane-charts
run: |
changes=$(git diff --shortstat)
changes=$(git diff --ignore-space-change --shortstat)
echo "$changes"
if [[ "$changes" != *"3 insertions(+), 3 deletions(-)"* ]]; then
echo "Expected 3 insertions and 3 deletions, but found different changes."
Expand Down

0 comments on commit 0e9e8a1

Please sign in to comment.