From 819ac79f1a7335bf37c9caba3e818b75e0bfbdb9 Mon Sep 17 00:00:00 2001 From: Zeke Zhang <958414905@qq.com> Date: Sat, 11 May 2024 21:34:57 +0800 Subject: [PATCH] chore(CI): skip comment in main branch --- .github/workflows/e2e.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 7b4e4c41e3..365ca502f5 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -299,7 +299,7 @@ jobs: - core-and-plugins - plugin-workflow - plugin-data-source-main - if: ${{ !cancelled() }} + if: ${{ !cancelled() && github.event.pull_request.number }} steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4