Move github actions if condition

This commit is contained in:
Leon Luithlen 2024-11-08 14:51:08 +01:00
parent c2dfe25ef2
commit 236a8c1d3f
5 changed files with 5 additions and 15 deletions

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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: