You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
206 B
16 lines
206 B
4 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -e
|
||
|
set -u
|
||
|
set -o pipefail
|
||
|
|
||
|
yarn lavamoat:auto
|
||
|
|
||
|
if git diff-index --quiet HEAD
|
||
|
then
|
||
|
echo "LavaMoat policy is up-to-date"
|
||
|
else
|
||
|
echo "LavaMoat policy requires updates"
|
||
|
exit 1
|
||
|
fi
|