volcano.sh/volcano@v1.9.0/hack/licenses-check.sh (about)

     1  #!/bin/bash
     2  
     3  if [[ -n $(git status --porcelain) ]]; then
     4    git status
     5    git diff
     6    echo "ERROR: Some files need to be updated, please run 'make mirror-licenses' and include any changed files in your PR"
     7    exit 1
     8  fi