Skip to content

Commit e8720a1

Browse files
authored
Merge pull request #1709 from weaviate/disable_auth_dependabot
Disable auth tests for dependabot
2 parents bb51c24 + 7502b9a commit e8720a1

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ updates:
88
- package-ecosystem: "pip" # See documentation for possible values
99
directory: "/" # Location of package manifests
1010
schedule:
11-
interval: "daily"
11+
interval: "weekly"
1212
ignore:
1313
- dependency-name: "grpcio"
1414
- dependency-name: "grpcio-tools"

.github/workflows/main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ jobs:
160160
- name: start weaviate
161161
run: /bin/bash ci/start_weaviate.sh ${{ matrix.versions.weaviate }}
162162
- name: Run integration tests with auth secrets
163-
if: ${{ !github.event.pull_request.head.repo.fork }}
163+
if: ${{ !github.event.pull_request.head.repo.fork && github.triggering_actor != 'dependabot[bot]' }}
164164
env:
165165
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
166166
OKTA_CLIENT_SECRET: ${{ secrets.OKTA_CLIENT_SECRET }}
@@ -169,7 +169,7 @@ jobs:
169169
# OPENAI_APIKEY: ${{ secrets.OPENAI_APIKEY }} disabled until we have a working key
170170
run: pytest -n auto --dist loadgroup -v --cov --cov-report=term-missing --cov=weaviate --cov-report xml:coverage-integration.xml integration
171171
- name: Run integration tests without auth secrets (for forks)
172-
if: ${{ github.event.pull_request.head.repo.fork }}
172+
if: ${{ github.event.pull_request.head.repo.fork || github.triggering_actor == 'dependabot[bot]' }}
173173
run: pytest -n auto --dist loadgroup -v --cov --cov-report=term-missing --cov=weaviate --cov-report xml:coverage-integration.xml integration
174174
- name: Archive code coverage results
175175
if: matrix.versions.py == '3.10' && (github.ref_name != 'main')

weaviate/collections/classes/filters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from weaviate.exceptions import WeaviateInvalidInputError
1010
from weaviate.proto.v1 import base_pb2
1111
from weaviate.types import UUID
12-
from weaviate.util import get_valid_uuid, _capitalize_first_letter
12+
from weaviate.util import _capitalize_first_letter, get_valid_uuid
1313

1414

1515
class _Operator(str, Enum):

0 commit comments

Comments
 (0)