diff --git a/.github/workflows/_test.yml b/.github/workflows/_test.yml index 3a4f0d4d2..29eab4cd3 100644 --- a/.github/workflows/_test.yml +++ b/.github/workflows/_test.yml @@ -35,6 +35,7 @@ jobs: cache-key: test-${{ inputs.working-directory }} - name: Login to Docker Hub uses: docker/login-action@v3 + if: ${{ !github.event.pull_request.head.repo.fork }} with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_RO_TOKEN }} diff --git a/.github/workflows/_test_langgraph.yml b/.github/workflows/_test_langgraph.yml index 2aad17993..b93e75d92 100644 --- a/.github/workflows/_test_langgraph.yml +++ b/.github/workflows/_test_langgraph.yml @@ -37,6 +37,7 @@ jobs: cache-key: test-langgraph - name: Login to Docker Hub uses: docker/login-action@v3 + if: ${{ !github.event.pull_request.head.repo.fork }} with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_RO_TOKEN }} diff --git a/.github/workflows/_test_scheduler_kafka.yml b/.github/workflows/_test_scheduler_kafka.yml index da01a9bd8..1f0edf420 100644 --- a/.github/workflows/_test_scheduler_kafka.yml +++ b/.github/workflows/_test_scheduler_kafka.yml @@ -29,6 +29,7 @@ jobs: cache-key: test-scheduler-kafka - name: Login to Docker Hub uses: docker/login-action@v3 + if: ${{ !github.event.pull_request.head.repo.fork }} with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_RO_TOKEN }}