From c53516fe491dac8a16b61826b18b4c2cdb854368 Mon Sep 17 00:00:00 2001 From: arthurgousset <46296830+arthurgousset@users.noreply.github.com> Date: Tue, 2 Jul 2024 17:16:16 +0100 Subject: [PATCH] chore(workflows): adds `release/core-contracts/` branch condition The "protocol-test-matrix" is a required check for PRs to `release/core-contracts/**` branches, but the condition that triggers the job could never evaluate be true. That meant that this part of the workflow could never execute, and would remain "expected" forever, since it's required. This change ensures the condition evaluates to true, and allows the workflow to run. --- .github/workflows/celo-monorepo.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/celo-monorepo.yml b/.github/workflows/celo-monorepo.yml index 2b225e5e079..725e931e3de 100644 --- a/.github/workflows/celo-monorepo.yml +++ b/.github/workflows/celo-monorepo.yml @@ -195,7 +195,10 @@ jobs: timeout-minutes: 60 needs: [install-dependencies, lint-checks] if: | - github.base_ref == 'master' || contains(github.base_ref, 'staging') || contains(github.base_ref, 'production') || + github.base_ref == 'master' || + github.base_ref == 'release/core-contracts/**' || + contains(github.base_ref, 'staging') || + contains(github.base_ref, 'production') || contains(needs.install-dependencies.outputs.all_modified_files, 'packages/protocol') || contains(needs.install-dependencies.outputs.all_modified_files, 'packages/typescript') || contains(needs.install-dependencies.outputs.all_modified_files, ',package.json') ||