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 }}