From 0223995dab195f0220c8a9d91ff93422169ccbb8 Mon Sep 17 00:00:00 2001 From: Xi Xu Date: Sat, 14 Mar 2026 01:10:04 +0800 Subject: [PATCH] fix(ci): allow trusted sync workflow_run in EdgeOne deploy --- .github/workflows/pages-eo.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pages-eo.yml b/.github/workflows/pages-eo.yml index 23720fa..eb163fc 100644 --- a/.github/workflows/pages-eo.yml +++ b/.github/workflows/pages-eo.yml @@ -20,7 +20,7 @@ jobs: permissions: contents: read deployments: write - if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push' && github.event.workflow_run.head_branch == 'main' && github.event.workflow_run.head_repository.full_name == github.repository) }} + if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' && (github.event.workflow_run.event == 'push' || github.event.workflow_run.event == 'workflow_run' || github.event.workflow_run.event == 'workflow_dispatch') && github.event.workflow_run.head_branch == 'main' && github.event.workflow_run.head_repository.full_name == github.repository) }} steps: - name: Checkout pages branch