From 211682d7ec96481a75afde12a528e5e8212b12ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Acid=20Chicken=20=28=E7=A1=AB=E9=85=B8=E9=B6=8F=29?= Date: Mon, 3 Apr 2023 14:05:19 +0900 Subject: [PATCH] ci(#10336): back to `pull_request_target` --- .github/workflows/storybook.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index 3bac63fa5..eda28c5f7 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -5,7 +5,7 @@ on: branches: - master - develop - pull_request: + pull_request_target: jobs: build: @@ -45,7 +45,7 @@ jobs: storybookBuildDir: storybook-static workingDir: packages/frontend - name: Compare on Chromatic - if: github.event_name == 'pull_request' + if: github.event_name == 'pull_request_target' run: pnpm --filter frontend chromatic -d storybook-static --exit-once-uploaded --patch-build ${{ github.head_ref }}...${{ github.base_ref }} env: CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}