From 5eee3dba9101e37d046aeef6ef7ed04057c3ebc0 Mon Sep 17 00:00:00 2001 From: xilesun <2013xile@gmail.com> Date: Tue, 10 Sep 2024 09:24:05 +0800 Subject: [PATCH] chore: update ci --- .github/workflows/manual-build-pro-plugin-image.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/manual-build-pro-plugin-image.yml b/.github/workflows/manual-build-pro-plugin-image.yml index 7990add6ff..032771afaa 100644 --- a/.github/workflows/manual-build-pro-plugin-image.yml +++ b/.github/workflows/manual-build-pro-plugin-image.yml @@ -12,6 +12,9 @@ on: required: true pr_number: description: 'Please enter the pr number of pro plugin repository' + required: true + nocobase_pr_number: + description: 'Please enter the pr number of nocobase/nocobase repository' required: false jobs: build-and-push: @@ -34,6 +37,12 @@ jobs: with: ref: ${{ github.head_ref || github.ref_name }} fetch-depth: 0 + - name: Checkout nocobase/nocobase pr + shell: bash + run: | + gh pr checkout ${{ inputs.nocobase_pr_number }} + env: + GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} - name: Checkout plugin uses: actions/checkout@v3 with: