diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 21b5ad48..e59427a7 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -82,6 +82,7 @@ jobs: - name: Login to DockerHub uses: docker/login-action@v2 + if: github.event_name != 'pull_request' with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }}