mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 21:49:25 +08:00
chore(CI): improve configuration of E2E workflow
This commit is contained in:
parent
efd89f57db
commit
6182f2be4b
8
.github/workflows/e2e.yml
vendored
8
.github/workflows/e2e.yml
vendored
@ -270,6 +270,14 @@ 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.event.pull_request.base.ref }}
|
||||
run: cd packages/pro-plugins && git checkout ${{ github.event.pull_request.base.ref }}
|
||||
continue-on-error: true
|
||||
- name: git checkout ${{ github.head_ref || github.ref_name }}
|
||||
run: cd packages/pro-plugins && git checkout ${{ github.head_ref || github.ref_name }}
|
||||
continue-on-error: true
|
||||
- name: Set variables
|
||||
continue-on-error: true # 外部开发者提交 PR 的时候因为没有权限这里会报错,为了能够继续执行后续步骤,所以这里设置为 continue-on-error: true
|
||||
run: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user