Skip to content

Commit

Permalink
github action fix git check
Browse files Browse the repository at this point in the history
  • Loading branch information
netic-rkm committed Jan 10, 2024
1 parent 4a7f066 commit 89dcdb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
export PATH=$PATH:$(go env GOPATH)/bin
helm-docs
git update-index --ignore-submodules --refresh
if ! git diff-files --quiet --ignore-submodules -- ; then
if ! git diff --exit-code ; then
echo Generating documentation caused a change - did you forget to run 'helm-docs' before commit?
exit 1
fi
Expand Down

0 comments on commit 89dcdb7

Please sign in to comment.