Skip to content

Commit

Permalink
Merge branch 'master' into fix-dind-host-detection
Browse files Browse the repository at this point in the history
  • Loading branch information
tillahoffmann authored Feb 17, 2023
2 parents f445378 + 2bcb931 commit f6eea5f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
- name: Add label
uses: actions-ecosystem/action-add-labels@v1
with:
labels: requires-attention
labels: '👀 requires attention'
remove-label:
if: ${{ github.event.comment.user.login == 'tillahoffmann' }}
runs-on: ubuntu-latest
steps:
- name: Remove label
uses: actions-ecosystem/action-remove-labels@v1
with:
labels: requires-attention
labels: '👀 requires attention'
13 changes: 13 additions & 0 deletions .github/workflows/triage-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Automatically add triage labels to new issues and pull requests
on:
issues:
types:
- opened
jobs:
add-label:
runs-on: ubuntu-latest
steps:
- name: Add label
uses: actions-ecosystem/action-add-labels@v1
with:
labels: '🔀 requires triage'
3 changes: 1 addition & 2 deletions neo4j/testcontainers/neo4j/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ def _connect(self) -> None:
with self.get_driver() as driver:
# Drivers may or may not be lazy
# force them to do a round trip to confirm neo4j is working
with driver.session() as session:
session.run("RETURN 1").single()
driver.verify_connectivity()

def get_driver(self, **kwargs) -> Driver:
return GraphDatabase.driver(
Expand Down

0 comments on commit f6eea5f

Please sign in to comment.