Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: fix ci on fork prs

Marc Klingene17bd364c92b
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml
index c354c1dfa3..40fd6c0340 100644
--- a/.github/workflows/pipeline.yml
+++ b/.github/workflows/pipeline.yml
@@ -41,7 +41,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Docker Hub
- if: github.repository == 'langfuse/langfuse'
+ if: github.repository == 'langfuse/langfuse' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME_READ }}
@@ -90,7 +90,7 @@ jobs:
with:
version: 9.5.0
- name: Login to Docker Hub
- if: github.repository == 'langfuse/langfuse'
+ if: github.repository == 'langfuse/langfuse' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME_READ }}
@@ -160,7 +160,7 @@ jobs:
with:
version: 9.5.0
- name: Login to Docker Hub
- if: github.repository == 'langfuse/langfuse'
+ if: github.repository == 'langfuse/langfuse' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME_READ }}
@@ -225,7 +225,7 @@ jobs:
with:
version: 9.5.0
- name: Login to Docker Hub
- if: github.repository == 'langfuse/langfuse'
+ if: github.repository == 'langfuse/langfuse' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME_READ }}
@@ -285,7 +285,7 @@ jobs:
cache: "pnpm"
cache-dependency-path: "pnpm-lock.yaml"
- name: Login to Docker Hub
- if: github.repository == 'langfuse/langfuse'
+ if: github.repository == 'langfuse/langfuse' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME_READ }}
@@ -318,7 +318,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Login to Docker Hub
- if: github.repository == 'langfuse/langfuse'
+ if: github.repository == 'langfuse/langfuse' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME_READ }}