From 20856fb57d73e443800d4b44a1e2929e7a989e85 Mon Sep 17 00:00:00 2001 From: iwtba4188 Date: Mon, 11 Dec 2023 22:54:17 +0800 Subject: [PATCH] =?UTF-8?q?refactor(workflow):=20=E7=A7=BB=E9=99=A4=20PR?= =?UTF-8?q?=20=E6=99=82=E8=BC=B8=E5=87=BA=20Context?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/smokeshow.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/smokeshow.yml b/.github/workflows/smokeshow.yml index 6c29cfa..6f49073 100644 --- a/.github/workflows/smokeshow.yml +++ b/.github/workflows/smokeshow.yml @@ -10,6 +10,7 @@ permissions: jobs: Context: + if: ${{ github.event.workflow_run.event == 'push' && github.event.workflow_run.conclusion == 'success' }} runs-on: ubuntu-latest steps: @@ -19,7 +20,7 @@ jobs: run: echo "$GITHUB_CONTEXT" Smokeshow: - if: ${{ github.event.workflow_run.event == 'push' && github.event.workflow_run.conclusion == 'success' }} + needs: Context runs-on: ubuntu-latest steps: