mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:15:36 +00:00
fix: base ref (#4829)
Some checks are pending
Build Pro Image / build-and-push (push) Waiting to run
E2E / Build (push) Waiting to run
E2E / Core and plugins (push) Blocked by required conditions
E2E / plugin-workflow (push) Blocked by required conditions
E2E / plugin-workflow-approval (push) Blocked by required conditions
E2E / plugin-data-source-main (push) Blocked by required conditions
E2E / Comment on PR (push) Blocked by required conditions
Some checks are pending
Build Pro Image / build-and-push (push) Waiting to run
E2E / Build (push) Waiting to run
E2E / Core and plugins (push) Blocked by required conditions
E2E / plugin-workflow (push) Blocked by required conditions
E2E / plugin-workflow-approval (push) Blocked by required conditions
E2E / plugin-data-source-main (push) Blocked by required conditions
E2E / Comment on PR (push) Blocked by required conditions
This commit is contained in:
parent
ec5e4b0336
commit
73c383d2b5
7
.github/workflows/build-pro-image.yml
vendored
7
.github/workflows/build-pro-image.yml
vendored
@ -39,8 +39,11 @@ jobs:
|
||||
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 }}
|
||||
- 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: rm .git
|
||||
run: rm -rf packages/pro-plugins/.git && git config --global user.email "you@example.com" && git config --global user.name "Your Name" && git add -A && git commit -m "tmp commit"
|
||||
|
32
.github/workflows/e2e.yml
vendored
32
.github/workflows/e2e.yml
vendored
@ -36,7 +36,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: Use Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
@ -88,8 +95,11 @@ jobs:
|
||||
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 }}
|
||||
- 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
|
||||
@ -171,6 +181,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: |
|
||||
@ -331,6 +349,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…
Reference in New Issue
Block a user