This commit is contained in:
chenos 2024-04-03 09:38:09 +08:00 committed by GitHub
parent 84d2a47361
commit b11066434e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,7 +9,6 @@ on:
inputs:
pr_number:
description: 'Please enter a pull request number'
required: true
jobs:
build-and-push:
@ -31,7 +30,7 @@ jobs:
with:
repository: nocobase/pro-plugins
path: packages/pro-plugins
ref: refs/pull/${{ inputs.pr_number }}/head
ref: ${{ inputs.pr_number && 'refs/pull/' + inputs.pr_number + '/head' || 'main' }}
ssh-key: ${{ secrets.SUBMODULE_SSH_KEY }}
- 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"