From 58b33ec47c46301c0ad1012b726193bfd9d508af Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Fri, 26 Feb 2021 14:28:02 +0000 Subject: [PATCH] Build/Test Tools: Avoid attempting to redeclare the `origin` remote prior to sending the test results to the test reporting API. Props desroj See #51734 git-svn-id: https://develop.svn.wordpress.org/trunk@50442 602fd350-edb4-49c9-b593-d223f7449a82 --- .github/workflows/phpunit-tests.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/phpunit-tests.yml b/.github/workflows/phpunit-tests.yml index c27aaefa3f..434f71ddfa 100644 --- a/.github/workflows/phpunit-tests.yml +++ b/.github/workflows/phpunit-tests.yml @@ -214,14 +214,6 @@ jobs: repository: 'WordPress/phpunit-test-runner' path: 'test-runner' - - name: Set up the Git repository - if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/master' && matrix.report }} - run: | - git init - git remote add origin https://github.com/WordPress/wordpress-develop.git - git fetch - git reset origin/master - - name: Submit test results to the WordPress.org host test results if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/master' && matrix.report }} env: