diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f49d3bfc32d4b..7714819622156 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -184,7 +184,11 @@ jobs: - cargo-test-linux - determine_changes # Only runs on pull requests, since that is the only we way we can find the base version for comparison. - if: github.event_name == 'pull_request' + # Ecosystem check needs linter and/or formatter changes. + if: github.event_name == 'pull_request' && ${{ + needs.determine_changes.outputs.linter == 'true' || + needs.determine_changes.outputs.formatter == 'true' + }} steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v4