Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
git-hook-template: Conditionally add '.envrc.repo' to the SENSITIVE_FILES check if '.envrc' exists
✗ CI failure Adrian Duke committed 16 days ago
commit a45a05f939d8eb92ca46d6a04d0e97a32ee56e60
parent d7c4dae6807d46f31b71a5da127a847ebc70621a
1 failed (1 total) View logs
1 file changed +6 -1
modified scripts/git-hook-template.sh
@@ -9,7 +9,12 @@ then
    exit 1
fi

-
readonly SENSITIVE_FILES=("justfile" "build.rs" "rust-toolchain.toml")
+
SENSITIVE_FILES=("justfile" "build.rs" "rust-toolchain.toml")
+
if [ -f ".envrc" ]; then
+
    SENSITIVE_FILES+=(".envrc.repo")
+
fi
+
readonly SENSITIVE_FILES
+

readonly BASE_BRANCH="master"

# Check which files were modified compared to the base branch.