ci(#10336): back to `pull_request_target`

This commit is contained in:
Acid Chicken (硫酸鶏) 2023-04-03 14:05:19 +09:00
parent b3b64d8525
commit 211682d7ec
No known key found for this signature in database
GPG Key ID: 3E87B98A3F6BAB99
1 changed files with 2 additions and 2 deletions

View File

@ -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 }}