From aee6c0b1b0a37aa9e264abb1894903d7c023cfac Mon Sep 17 00:00:00 2001 From: Archer <545436317@qq.com> Date: Tue, 28 Apr 2026 21:16:04 +0800 Subject: [PATCH] Action (#6847) * fix: pro's Dockefile * fix: action --------- Co-authored-by: xqvvu --- .github/workflows/preview-admin-build.yml | 3 ++- .../workflows/{fastgpt-pro-test.yaml => test-fastgpt-pro.yaml} | 1 + pro | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) rename .github/workflows/{fastgpt-pro-test.yaml => test-fastgpt-pro.yaml} (95%) diff --git a/.github/workflows/preview-admin-build.yml b/.github/workflows/preview-admin-build.yml index ae428859ee..cb9c1d5006 100644 --- a/.github/workflows/preview-admin-build.yml +++ b/.github/workflows/preview-admin-build.yml @@ -1,7 +1,7 @@ name: Preview Admin Image - Build on: - pull_request: + pull_request_target: types: [opened, synchronize, reopened] branches: ['*'] paths: @@ -25,6 +25,7 @@ permissions: jobs: build: + if: ${{ github.event.pull_request.author_association == 'MEMBER' }} runs-on: ubuntu-24.04 steps: diff --git a/.github/workflows/fastgpt-pro-test.yaml b/.github/workflows/test-fastgpt-pro.yaml similarity index 95% rename from .github/workflows/fastgpt-pro-test.yaml rename to .github/workflows/test-fastgpt-pro.yaml index b361d66d3a..7cca2b8ff5 100644 --- a/.github/workflows/fastgpt-pro-test.yaml +++ b/.github/workflows/test-fastgpt-pro.yaml @@ -20,6 +20,7 @@ concurrency: jobs: test: + if: ${{ github.event_name != 'pull_request_target' || github.event.pull_request.author_association == 'MEMBER' }} runs-on: ubuntu-latest permissions: diff --git a/pro b/pro index de086134ac..4aba60a784 160000 --- a/pro +++ b/pro @@ -1 +1 @@ -Subproject commit de086134ac9645c3057bcf1dd8abf8686f805df3 +Subproject commit 4aba60a7842c0a4b952ba35daf93b68fd520ff81