From 555c28f266eccfc3f059ec68eea505fc166e8818 Mon Sep 17 00:00:00 2001 From: archer <545436317@qq.com> Date: Thu, 30 Oct 2025 11:16:01 +0800 Subject: [PATCH 1/2] fix: action --- .github/workflows/build-image-preview.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-image-preview.yml b/.github/workflows/build-image-preview.yml index 10a9ef63..a0026eb0 100644 --- a/.github/workflows/build-image-preview.yml +++ b/.github/workflows/build-image-preview.yml @@ -93,7 +93,7 @@ jobs: tool: issue-comment title: Preview Image Label body: | - Preview Images for this PR are: + Preview Images for this PR: ``` ${{ secrets.ALI_IMAGE_NAME }}/fastgpt-plugin-pr:${{ github.event.pull_request.head.sha }} From af39b55f4914143b023b701ecd471223a562064a Mon Sep 17 00:00:00 2001 From: archer <545436317@qq.com> Date: Thu, 30 Oct 2025 11:38:16 +0800 Subject: [PATCH 2/2] action --- .github/workflows/build-image-preview.yml | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/.github/workflows/build-image-preview.yml b/.github/workflows/build-image-preview.yml index a0026eb0..f9631680 100644 --- a/.github/workflows/build-image-preview.yml +++ b/.github/workflows/build-image-preview.yml @@ -26,27 +26,6 @@ jobs: /* !modules/tool/packages - # Get changed packages and test build - - name: Get changed files in PR - id: changed-files - uses: tj-actions/changed-files@v45 - with: - files: modules/tool/packages/** - - - name: Checkout changed packages - if: steps.changed-files.outputs.any_changed == 'true' - run: | - # Get list of changed packages - changed_packages=$(echo "${{ steps.changed-files.outputs.all_changed_files }}" | \ - grep -oP 'modules/tool/packages/[^/]+' | \ - sort -u) - - # Checkout each changed package - for package in $changed_packages; do - echo "Checking out $package" - git sparse-checkout add "$package" - done - - name: Setup bun if: steps.changed-files.outputs.any_changed == 'true' uses: oven-sh/setup-bun@v2