From ee849d391aa9a92885085f65c1b59a9753693e9f Mon Sep 17 00:00:00 2001 From: "ilblackdragon@gmail.com" Date: Wed, 11 Mar 2026 18:21:50 -0700 Subject: [PATCH] fix: cd to repo root in strict gate, deny wildcard versions - quality_gate_strict.sh: add `cd` to repo root so the script works when invoked from any working directory. - deny.toml: change `wildcards = "allow"` to `"deny"` to catch `*` version requirements in dependencies. Co-Authored-By: Claude Opus 4.6 --- deny.toml | 2 +- scripts/ci/quality_gate_strict.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/deny.toml b/deny.toml index 44007a33..80aa2215 100644 --- a/deny.toml +++ b/deny.toml @@ -41,7 +41,7 @@ unused-allowed-license = "allow" [bans] multiple-versions = "warn" -wildcards = "allow" +wildcards = "deny" [sources] unknown-registry = "deny" diff --git a/scripts/ci/quality_gate_strict.sh b/scripts/ci/quality_gate_strict.sh index 48ef2433..ed595964 100755 --- a/scripts/ci/quality_gate_strict.sh +++ b/scripts/ci/quality_gate_strict.sh @@ -1,6 +1,9 @@ #!/usr/bin/env bash set -euo pipefail +# Ensure we are running from the repository root +cd "$(git rev-parse --show-toplevel)" + echo "==> fmt check" cargo fmt --all -- --check