From c65a186d4c9817b8cd7c14c117384a02aed8a2ae Mon Sep 17 00:00:00 2001 From: KooshaPari Date: Wed, 24 Jun 2026 20:09:33 -0700 Subject: [PATCH] fix(build): wrapper-build red on main --- .github/workflows/deny.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deny.yml b/.github/workflows/deny.yml index 15a1936..b3e6e89 100644 --- a/.github/workflows/deny.yml +++ b/.github/workflows/deny.yml @@ -22,8 +22,11 @@ jobs: timeout-minutes: 15 # PolicyStack is a Python project; cargo-deny only applies when a Cargo.toml # is present (i.e. when this repo contains a Rust crate). Skip otherwise so - # the workflow stays green for non-Rust pushes. - if: hashFiles('**/Cargo.toml') != '' + # the workflow stays green for non-Rust pushes. GitHub Actions' workflow + # expression parser rejects `hashFiles(...)` in a job-level `if:` clause with + # "Unrecognized function: 'hashFiles'", which fails validation before any + # jobs are scheduled. We use a static skip until a Rust crate is added. + if: false steps: - name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4