1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00
metamask-extension/.circleci/scripts/check-working-tree.sh
Mark Stacey 492038a312
Validate LavaMoat config in parallel (#19589)
The LavaMoat policies and allow-scripts configuration are now validated
in parallel. They are still only validated for release candidate
branches and the `master` branch.
2023-06-22 18:40:32 -02:30

12 lines
123 B
Bash
Executable File

#!/usr/bin/env bash
set -e
set -u
set -o pipefail
if ! git diff --exit-code
then
echo "Working tree dirty"
exit 1
fi