chore: update next branch ci

This commit is contained in:
chenos 2024-06-30 19:41:39 +08:00
parent cd3be19f06
commit 44580ff9a8
5 changed files with 10 additions and 2 deletions

View File

@ -8,6 +8,7 @@ on:
push: push:
branches: branches:
- 'main' - 'main'
- 'next'
paths: paths:
- 'packages/**' - 'packages/**'
- 'docker/nocobase/**' - 'docker/nocobase/**'
@ -36,6 +37,11 @@ jobs:
ref: main ref: main
path: packages/pro-plugins path: packages/pro-plugins
ssh-key: ${{ secrets.SUBMODULE_SSH_KEY }} 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: rm .git - 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" 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"
- name: Set up QEMU - name: Set up QEMU

View File

@ -8,7 +8,7 @@ on:
push: push:
branches: branches:
- 'main' - 'main'
- 'develop' - 'next'
paths: paths:
- '.github/workflows/e2e.yml' - '.github/workflows/e2e.yml'
- 'packages/**' - 'packages/**'

View File

@ -8,6 +8,7 @@ on:
push: push:
branches: branches:
- main - main
- next
paths: paths:
- 'package.json' - 'package.json'
- '**/yarn.lock' - '**/yarn.lock'

View File

@ -8,7 +8,7 @@ on:
push: push:
branches: branches:
- main - main
- develop - next
paths: paths:
- 'packages/**' - 'packages/**'
- '**/yarn.lock' - '**/yarn.lock'

View File

@ -8,6 +8,7 @@ on:
push: push:
branches: branches:
- main - main
- next
paths: paths:
- 'package.json' - 'package.json'
- '**/yarn.lock' - '**/yarn.lock'