Skip to content

Commit

Permalink
chore(workflows): adds release/core-contracts/ branch condition
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
arthurgousset committed Jul 2, 2024
1 parent c870d49 commit c53516f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/celo-monorepo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') ||
Expand Down

0 comments on commit c53516f

Please sign in to comment.