From 73b0cca567e84b353262985b3e6e02d9b9f0a71d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=81=8F=E5=8F=B3?= Date: Sat, 23 Jan 2021 13:18:57 +0800 Subject: [PATCH] fix: revert workflow to pull_request (#28996) for security reason --- .github/workflows/compressed-size.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/compressed-size.yml b/.github/workflows/compressed-size.yml index 33f3c2112a..ce2746f881 100644 --- a/.github/workflows/compressed-size.yml +++ b/.github/workflows/compressed-size.yml @@ -1,6 +1,6 @@ name: 📦 Compressed Size -on: [pull_request_target] +on: [pull_request] jobs: build: @@ -11,8 +11,6 @@ jobs: steps: - uses: actions/checkout@v2 - with: - ref: refs/pull/${{ github.event.pull_request.number }}/merge - uses: preactjs/compressed-size-action@v2 with: repo-token: "${{ secrets.GITHUB_TOKEN }}"