From 5d548aa3ed0afbce2b86adf13f35d3aec39c3315 Mon Sep 17 00:00:00 2001 From: Diego Molina Date: Thu, 23 Jun 2022 13:01:42 +0200 Subject: [PATCH] [java] Improving query to exclude 'no-lint' tests [run java] --- .github/workflows/ci-java.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-java.yml b/.github/workflows/ci-java.yml index 358083d70d0c9..5efaf7ea3f0dd 100644 --- a/.github/workflows/ci-java.yml +++ b/.github/workflows/ci-java.yml @@ -142,7 +142,7 @@ jobs: - name: Run linter uses: ./.github/actions/bazel-test with: - query: attr(tags, lint, tests(//java/...)) + query: attr(tags, lint, tests(//java/...)) except attr(tags, no-lint, tests(//java/...)) browser_tests: if: ${{ needs.check_workflow.outputs.result == 'true' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || contains(toJson(github.event.commits), '[run java]') == true }}