From 9b691e7bf1848d1954d2d7b60f81db78fc9c91e3 Mon Sep 17 00:00:00 2001 From: chenos Date: Fri, 5 Jul 2024 18:18:44 +0800 Subject: [PATCH] fix: e2e ci --- .github/workflows/e2e.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index fa15d7142d..4b4d7c3158 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -86,6 +86,11 @@ jobs: ref: main path: packages/pro-plugins ssh-key: ${{ secrets.SUBMODULE_SSH_KEY }} + - name: Fetch all branches + run: cd packages/pro-plugins && git fetch --all + - name: git checkout ${{ github.head_ref }} + run: cd packages/pro-plugins && git checkout ${{ github.head_ref }} + continue-on-error: true - name: Set variables continue-on-error: true # 外部开发者提交 PR 的时候因为没有权限这里会报错,为了能够继续执行后续步骤,所以这里设置为 continue-on-error: true run: |