chore: fetch-depth=0 (#4854)

This commit is contained in:
chenos 2024-07-10 13:50:22 +08:00 committed by GitHub
parent a89a95cfbc
commit fac228a174
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,9 +36,8 @@ jobs:
repository: nocobase/pro-plugins
ref: main
path: packages/pro-plugins
fetch-depth: 0
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
@ -93,9 +92,8 @@ jobs:
repository: nocobase/pro-plugins
ref: main
path: packages/pro-plugins
fetch-depth: 0
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
@ -181,9 +179,8 @@ jobs:
repository: nocobase/pro-plugins
ref: main
path: packages/pro-plugins
fetch-depth: 0
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
@ -269,9 +266,8 @@ jobs:
repository: nocobase/pro-plugins
ref: main
path: packages/pro-plugins
fetch-depth: 0
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
@ -357,9 +353,8 @@ jobs:
repository: nocobase/pro-plugins
ref: main
path: packages/pro-plugins
fetch-depth: 0
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