From 3dab7eefedda68c89f41ed4fdcadbf96c22c3c9b Mon Sep 17 00:00:00 2001 From: Axel Palumbo Date: Sat, 13 Jun 2026 22:55:06 +0200 Subject: [PATCH] ci: skip storage checks for new files --- .github/workflows/core-contracts-storage-check.yml | 4 ++-- .github/workflows/diamond-storage-check.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/core-contracts-storage-check.yml b/.github/workflows/core-contracts-storage-check.yml index 14bcd3676..03dd10e88 100644 --- a/.github/workflows/core-contracts-storage-check.yml +++ b/.github/workflows/core-contracts-storage-check.yml @@ -29,9 +29,9 @@ jobs: - name: Set contracts matrix id: set-matrix working-directory: packages/contracts - if: steps.changed-contracts.outputs.contracts_any_changed == 'true' + if: steps.changed-contracts.outputs.contracts_modified_files != '' env: - CHANGED_CONTRACTS: ${{ steps.changed-contracts.outputs.contracts_all_changed_files }} + CHANGED_CONTRACTS: ${{ steps.changed-contracts.outputs.contracts_modified_files }} run: | for CONTRACT in "$CHANGED_CONTRACTS"; do echo ${CONTRACT} | xargs basename -a | cut -d'.' -f1 | xargs -I{} echo src/dollar/core/{}.sol:{} >> contracts.txt diff --git a/.github/workflows/diamond-storage-check.yml b/.github/workflows/diamond-storage-check.yml index fd515c490..94de49219 100644 --- a/.github/workflows/diamond-storage-check.yml +++ b/.github/workflows/diamond-storage-check.yml @@ -33,9 +33,9 @@ jobs: - name: Set contracts matrix id: set-matrix working-directory: packages/contracts - if: steps.changed-libraries.outputs.libraries_any_changed == 'true' + if: steps.changed-libraries.outputs.libraries_modified_files != '' env: - CHANGED_LIBS: ${{ steps.changed-libraries.outputs.libraries_all_changed_files }} + CHANGED_LIBS: ${{ steps.changed-libraries.outputs.libraries_modified_files }} run: | for DIAMOND_LIB in "$CHANGED_LIBS"; do echo ${DIAMOND_LIB} | xargs basename -a | cut -d'.' -f1 | xargs -I{} echo src/dollar/libraries/{}.sol:{} >> contracts.txt