github.com/looshlee/beatles@v0.0.0-20220727174639-742810ab631c/contrib/policy-watcher/post-merge (about) 1 #!/bin/bash 2 3 changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" 4 5 if [ ! -z "${changed_files}" ]; then 6 cilium-net-policy import -p . 7 fi