diff --git a/.github/workflows/knative-go-test.yaml b/.github/workflows/knative-go-test.yaml index 6abb34c2cb5..75b2a659100 100644 --- a/.github/workflows/knative-go-test.yaml +++ b/.github/workflows/knative-go-test.yaml @@ -50,6 +50,7 @@ jobs: fetch-depth: 0 - name: Merge upstream + if: github.event_name == 'pull_request' run: | git remote add upstream https://github.com/${{ github.repository }}.git git fetch upstream ${{ github.base_ref }}