diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5bc48245b..9aaebde40 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,8 +63,10 @@ jobs: run: make test e2e: name: e2e test + if: ${{ github.repository == 'karmada-io/karmada' }} needs: build - runs-on: ubuntu-latest + # switch back to GitHub Action after https://github.com/karmada-io/karmada/issues/481 get fixed. + runs-on: self-hosted steps: - name: checkout code uses: actions/checkout@v2