diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 65bd04ff28a0..3ffa1a2b9a80 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -118,7 +118,7 @@ jobs: echo QT_VERSION: ${QT_VERSION} - name: Login to Docker Hub - if: ${{ github.event_name == 'push' && github.actor == 'qgis' }} + if: ${{ github.event_name == 'push' && github.repository == 'qgis/QGIS' }} uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USERNAME }}