From 3aca3b7a1b1e0968d2d047c4af0975ecf88e3955 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 18 Aug 2026 02:56:58 +0200 Subject: [PATCH] Ignore line-ending-only generated package drift --- .github/workflows/portable-contracts.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/portable-contracts.yml b/.github/workflows/portable-contracts.yml index 08f8689..616651d 100644 --- a/.github/workflows/portable-contracts.yml +++ b/.github/workflows/portable-contracts.yml @@ -41,7 +41,8 @@ jobs: - name: Reject stale generated output shell: pwsh run: | - if (git status --short) { - git status --short + $changed = git diff --ignore-space-at-eol --name-only -- packages/${{ matrix.package }} + if ($changed) { + git diff --ignore-space-at-eol -- packages/${{ matrix.package }} throw "The package build changed checked-in generated output." }