From 745e129f9bce61d9d38d11ed2f83d24d122672bb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 6 Feb 2026 06:55:59 +0000 Subject: [PATCH 1/3] Initial plan From 29af2c20e8f880a4991999ccb1a92366fd8db294 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 6 Feb 2026 06:57:24 +0000 Subject: [PATCH 2/3] Allow workflow to run on both opened and merged PRs Co-authored-by: zhogu <57975490+zhogu@users.noreply.github.com> --- .github/workflows/build-deploy-changes.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-deploy-changes.yaml b/.github/workflows/build-deploy-changes.yaml index c7def223..f2a1b29c 100644 --- a/.github/workflows/build-deploy-changes.yaml +++ b/.github/workflows/build-deploy-changes.yaml @@ -20,7 +20,7 @@ jobs: runs-on: [self-hosted, paicicd] timeout-minutes: 120 environment: auto-test - if: github.event_name != 'pull_request' || github.event.pull_request.merged == true + if: github.event_name != 'pull_request' || github.event.action == 'opened' || github.event.pull_request.merged == true container: image: ubuntu:latest volumes: From 9587a936e91d4c519b61776530a868d445c3390a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 6 Feb 2026 06:57:57 +0000 Subject: [PATCH 3/3] Improve condition logic clarity with explicit grouping Co-authored-by: zhogu <57975490+zhogu@users.noreply.github.com> --- .github/workflows/build-deploy-changes.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-deploy-changes.yaml b/.github/workflows/build-deploy-changes.yaml index f2a1b29c..a7c8c43f 100644 --- a/.github/workflows/build-deploy-changes.yaml +++ b/.github/workflows/build-deploy-changes.yaml @@ -20,7 +20,7 @@ jobs: runs-on: [self-hosted, paicicd] timeout-minutes: 120 environment: auto-test - if: github.event_name != 'pull_request' || github.event.action == 'opened' || github.event.pull_request.merged == true + if: github.event_name != 'pull_request' || (github.event.action == 'opened' || github.event.pull_request.merged == true) container: image: ubuntu:latest volumes: