Skip to content

Commit c47bd5e

Browse files
hyperpolymathclaude
andcommitted
fix(elixir-ci-reusable): wrap bare job-level if: in ${{ }} (same anti-pattern as #322/#334)
elixir-ci-reusable.yml:105 had the same bare-`if:`-at-job-level pattern that #334 fixed in rust-ci-reusable.yml. Surfaced via the sweep recipe documented in standards#334: grep -nE '^\s+if: [^$]+(hashFiles|format|inputs\.)' .github/workflows/*-reusable.yml The mix.exs guard is structurally identical to the Cargo.toml guard that broke 43+ Rust callers — same fix. Follow-up audit: same grep found ZERO additional hits in other reusables (governance/secret-scanner/scorecard/mirror/casket/dogfood). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent d7c3b8f commit c47bd5e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/elixir-ci-reusable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
name: Compile + test
103103
runs-on: ${{ inputs.runs-on }}
104104
# Guard on mix.exs so the wrapper is safe to add unconditionally.
105-
if: hashFiles(format('{0}/mix.exs', inputs.working_directory)) != ''
105+
if: ${{ hashFiles(format('{0}/mix.exs', inputs.working_directory)) != '' }}
106106
permissions:
107107
contents: read
108108
env:

0 commit comments

Comments
 (0)