From 236a8c1d3fafee172eb60e2130341649037411b7 Mon Sep 17 00:00:00 2001 From: Leon Luithlen Date: Fri, 8 Nov 2024 14:51:08 +0100 Subject: [PATCH] Move github actions if condition --- .github/workflows/test_neo4j.yml | 4 +--- .github/workflows/test_notebook.yml | 4 +--- .github/workflows/test_pgvector.yml | 4 +--- .github/workflows/test_qdrant.yml | 4 +--- .github/workflows/test_weaviate.yml | 4 +--- 5 files changed, 5 insertions(+), 15 deletions(-) diff --git a/.github/workflows/test_neo4j.yml b/.github/workflows/test_neo4j.yml index 25e1c0f38..55b0f4ee4 100644 --- a/.github/workflows/test_neo4j.yml +++ b/.github/workflows/test_neo4j.yml @@ -15,8 +15,6 @@ env: RUNTIME__LOG_LEVEL: ERROR jobs: - if: ${{ github.event.label.name == 'run-checks' }} - get_docs_changes: name: docs changes uses: ./.github/workflows/get_docs_changes.yml @@ -24,7 +22,7 @@ jobs: run_neo4j_integration_test: name: test needs: get_docs_changes - if: needs.get_docs_changes.outputs.changes_outside_docs == 'true' + if: needs.get_docs_changes.outputs.changes_outside_docs == 'true' | ${{ github.event.label.name == 'run-checks' }} runs-on: ubuntu-latest defaults: diff --git a/.github/workflows/test_notebook.yml b/.github/workflows/test_notebook.yml index 24b766eca..20f51a6e2 100644 --- a/.github/workflows/test_notebook.yml +++ b/.github/workflows/test_notebook.yml @@ -16,8 +16,6 @@ env: RUNTIME__LOG_LEVEL: ERROR jobs: - if: ${{ github.event.label.name == 'run-checks' }} - get_docs_changes: name: docs changes uses: ./.github/workflows/get_docs_changes.yml @@ -25,7 +23,7 @@ jobs: run_notebook_test: name: test needs: get_docs_changes - if: needs.get_docs_changes.outputs.changes_outside_docs == 'true' + if: needs.get_docs_changes.outputs.changes_outside_docs == 'true' | ${{ github.event.label.name == 'run-checks' }} runs-on: ubuntu-latest defaults: run: diff --git a/.github/workflows/test_pgvector.yml b/.github/workflows/test_pgvector.yml index 5ba149a19..c9dfc2c35 100644 --- a/.github/workflows/test_pgvector.yml +++ b/.github/workflows/test_pgvector.yml @@ -16,8 +16,6 @@ env: RUNTIME__LOG_LEVEL: ERROR jobs: - if: ${{ github.event.label.name == 'run-checks' }} - get_docs_changes: name: docs changes uses: ./.github/workflows/get_docs_changes.yml @@ -25,7 +23,7 @@ jobs: run_pgvector_integration_test: name: test needs: get_docs_changes - if: needs.get_docs_changes.outputs.changes_outside_docs == 'true' + if: needs.get_docs_changes.outputs.changes_outside_docs == 'true' | ${{ github.event.label.name == 'run-checks' }} runs-on: ubuntu-latest defaults: run: diff --git a/.github/workflows/test_qdrant.yml b/.github/workflows/test_qdrant.yml index b78e21f31..595325672 100644 --- a/.github/workflows/test_qdrant.yml +++ b/.github/workflows/test_qdrant.yml @@ -16,8 +16,6 @@ env: RUNTIME__LOG_LEVEL: ERROR jobs: - if: ${{ github.event.label.name == 'run-checks' }} - get_docs_changes: name: docs changes uses: ./.github/workflows/get_docs_changes.yml @@ -25,7 +23,7 @@ jobs: run_qdrant_integration_test: name: test needs: get_docs_changes - if: needs.get_docs_changes.outputs.changes_outside_docs == 'true' + if: needs.get_docs_changes.outputs.changes_outside_docs == 'true' | ${{ github.event.label.name == 'run-checks' }} runs-on: ubuntu-latest defaults: diff --git a/.github/workflows/test_weaviate.yml b/.github/workflows/test_weaviate.yml index 05d841725..9353d1747 100644 --- a/.github/workflows/test_weaviate.yml +++ b/.github/workflows/test_weaviate.yml @@ -16,8 +16,6 @@ env: RUNTIME__LOG_LEVEL: ERROR jobs: - if: ${{ github.event.label.name == 'run-checks' }} - get_docs_changes: name: docs changes uses: ./.github/workflows/get_docs_changes.yml @@ -25,7 +23,7 @@ jobs: run_weaviate_integration_test: name: test needs: get_docs_changes - if: needs.get_docs_changes.outputs.changes_outside_docs == 'true' + if: needs.get_docs_changes.outputs.changes_outside_docs == 'true' | ${{ github.event.label.name == 'run-checks' }} runs-on: ubuntu-latest defaults: