mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
a174d50ba5
* ci - improve lavamoat validation debug info * Update validate-allow-scripts.sh * Update validate-lavamoat-policy.sh
16 lines
199 B
Bash
Executable File
16 lines
199 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -u
|
|
set -o pipefail
|
|
|
|
yarn lavamoat:auto
|
|
|
|
if git diff --exit-code
|
|
then
|
|
echo "LavaMoat policy is up-to-date"
|
|
else
|
|
echo "LavaMoat policy requires updates"
|
|
exit 1
|
|
fi
|