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

View File

@ -5,7 +5,7 @@ on:
branches: branches:
- master - master
- develop - develop
pull_request: pull_request_target:
jobs: jobs:
build: build:
@ -45,7 +45,7 @@ jobs:
storybookBuildDir: storybook-static storybookBuildDir: storybook-static
workingDir: packages/frontend workingDir: packages/frontend
- name: Compare on Chromatic - 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 }} run: pnpm --filter frontend chromatic -d storybook-static --exit-once-uploaded --patch-build ${{ github.head_ref }}...${{ github.base_ref }}
env: env:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}