Skip to content

Commit

Permalink
retry
Browse files Browse the repository at this point in the history
  • Loading branch information
maciaszczykm committed Dec 4, 2024
1 parent 62069d9 commit 31ee4b7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/controller-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,12 @@ jobs:
- name: Regenerate docs
run: PATH=$PATH:$GOPATH/bin make codegen-crd-docs
- name: Check git diff
id: diff
run: |
git --no-pager diff
if [[ $(git --no-pager diff | head -c1 | wc -c) -ne 0 ]]; then
echo "CRD docs are outdated. Please run `make codegen-crd-docs` and commit the changes."
echo "\nCRD docs are outdated. Please run 'make codegen-crd-docs' and commit the changes."
exit 1;
else
echo "CRD docs are up-to-date."
echo "\nCRD docs are up-to-date."
fi

0 comments on commit 31ee4b7

Please sign in to comment.