diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index 5796bf12a5..ba14f6ab2f 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -36,7 +36,7 @@ jobs: token: ${{ steps.app-token.outputs.token }} persist-credentials: true fetch-depth: 0 - - name: main -> next(nocobase) + - name: main -> next(${{ inputs.repository || 'nocobase' }}) run: | git config --global user.name '${{ steps.app-token.outputs.app-slug }}[bot]' git config --global user.email '${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com>' @@ -45,11 +45,11 @@ jobs: git checkout next git merge main git push origin next - - name: push nocobase(next) + - name: push ${{ inputs.repository || 'nocobase' }}(next) uses: ad-m/github-push-action@master with: branch: next github_token: ${{ steps.app-token.outputs.token }} - repository: nocobase/nocobase + repository: nocobase/${{ inputs.repository || 'nocobase' }} tags: true atomic: true