From dc9c6d9e0dd6a99a95f998bb5cce529fdec86b3d Mon Sep 17 00:00:00 2001 From: PP Date: Wed, 24 Nov 2021 19:50:23 +0800 Subject: [PATCH] fix git pull rebase on Interface Check (#9727) --- .github/workflows/interface-check.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/interface-check.yml b/.github/workflows/interface-check.yml index d698d21a79..a41cee76f2 100644 --- a/.github/workflows/interface-check.yml +++ b/.github/workflows/interface-check.yml @@ -30,6 +30,7 @@ jobs: - name: rebase HEAD branch working-directory: ./engine run: | + git checkout . git remote add HEAD_REPO https://github.com/${{ github.event.pull_request.head.repo.full_name }}.git git pull --rebase HEAD_REPO ${{ github.head_ref }}